Added test if timing controller is enabled to the init function to prevent calling tc update.

This commit is contained in:
Kai Lauterbach 2023-04-29 12:00:20 +02:00
parent 523292a2fe
commit c31af61fc0

View file

@ -117,8 +117,11 @@ void tc_init()
}
}
if (tc_enabled == TIMING_CONTROL_ENABLED)
{
Serial.println("tc_enabled = " + (String)tc_enabled);
tc_update_main();
}
}
//********************************//