Merge remote-tracking branch 'origin/fast-millis-esp32' into integration

This commit is contained in:
J. Nick Koston
2026-04-21 15:32:00 +02:00
+1 -4
View File
@@ -91,15 +91,12 @@ void Application::setup() {
this->app_state_ |= STATUS_LED_WARNING;
do {
uint32_t now = MillisInternal::get();
// Service scheduler and process pending loop enables to handle GPIO
// interrupts during setup. During setup we always run the component
// phase (no loop_interval_ gate), so call both helpers unconditionally.
this->scheduler_tick_(now);
this->scheduler_tick_(MillisInternal::get());
{
ComponentPhaseGuard phase_guard{*this};
for (uint32_t j = 0; j <= i; j++) {
// Update loop_component_start_time_ right before calling each component
this->loop_component_start_time_ = MillisInternal::get();