Update ESCvar.time in rt-kernel esc_hw worker thread loop.
ESCvar.time is used by emulated eeprom handler to measure idle time, when enough time have elapsed the write is assumed to be completed and the EEPROM RAM buffer is flushed to FLASH.
Currently there are no use-case requiring ESCvar.time in SM2 interrupts, so we move it from SM2 interrupt to low prio interrupt handler.
Update ESCvar.time in rt-kernel esc_hw worker thread loop. ESCvar.time is used by emulated eeprom handler to measure idle time, when enough time have elapsed the write is assumed to be completed and the EEPROM RAM buffer is flushed to FLASH.
Currently there are no use-case requiring ESCvar.time in SM2 interrupts, so we move it from SM2 interrupt to low prio interrupt handler.