|
|
@ -299,3 +299,13 @@ void encoder_switch_toggle_on_off_state(encoder_usage_t encoder) |
|
|
|
// error |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
void encoder_data_acquisition_schedule(void) |
|
|
|
{ |
|
|
|
static uint32_t acquisition_lastprocess; |
|
|
|
if (sys_haspassedms(acquisition_lastprocess) > 1) |
|
|
|
{ |
|
|
|
acquisition_lastprocess = HAL_GetTick(); |
|
|
|
printf("acquisition_lastprocess:%d\r\n", acquisition_lastprocess); |
|
|
|
} |
|
|
|
} |