Skip to content

Commit 9e67711

Browse files
committed
fixed issue with callback function pointer - was passing in the result of the function, not the function pointer -- ROOKIE MOVE - doh
1 parent 2d4a465 commit 9e67711

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
@@ -192,7 +192,7 @@ bool sfDevBMV080::setMode(uint8_t mode)
192192
{
193193
bmv080_duty_cycling_mode_t duty_cycling_mode = E_BMV080_DUTY_CYCLING_MODE_0;
194194
bmv080_current_status = bmv080_start_duty_cycling_measurement(
195-
_bmv080_handle_class, (bmv080_callback_tick_t)sftk_ticks_ms(), duty_cycling_mode);
195+
_bmv080_handle_class, (bmv080_callback_tick_t)sftk_ticks_ms, duty_cycling_mode);
196196
}
197197

198198
// check if the mode was set correctly

0 commit comments

Comments
 (0)