Remove millis() calls from precharge control

This commit is contained in:
Daniel Öster 2025-05-11 21:21:42 +03:00
parent 1b8f3eaf55
commit 03860b17a8
3 changed files with 6 additions and 7 deletions

View file

@ -244,7 +244,7 @@ void core_loop(void*) {
led_exe();
handle_contactors(); // Take care of startup precharge/contactor closing
#ifdef PRECHARGE_CONTROL
handle_precharge_control();
handle_precharge_control(currentMillis);
#endif // PRECHARGE_CONTROL
#ifdef FUNCTION_TIME_MEASUREMENT
END_TIME_MEASUREMENT_MAX(time_10ms, datalayer.system.status.time_10ms_us);