Skip to content

Commit cf5a291

Browse files
authored
Merge pull request #5 from sparkfun/develop
fixed issue with callback function pointer - was passing in the resul…
2 parents 9eb8a04 + 9e67711 commit cf5a291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sfTk/sfDevBMV080.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ bool sfDevBMV080::setMode(uint8_t mode)
198198
{
199199
bmv080_duty_cycling_mode_t duty_cycling_mode = E_BMV080_DUTY_CYCLING_MODE_0;
200200
bmv080_current_status = bmv080_start_duty_cycling_measurement(
201-
_bmv080_handle_class, (bmv080_callback_tick_t)sftk_ticks_ms(), duty_cycling_mode);
201+
_bmv080_handle_class, (bmv080_callback_tick_t)sftk_ticks_ms, duty_cycling_mode);
202202
}
203203

204204
// check if the mode was set correctly

0 commit comments

Comments
 (0)