From 9ad1bc259f7359720a21fb1b7cffccd39e8dc12a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 21 Apr 2026 15:31:04 +0200 Subject: [PATCH] cleanup --- esphome/core/application.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/esphome/core/application.cpp b/esphome/core/application.cpp index 51966dfbec..ea1912d645 100644 --- a/esphome/core/application.cpp +++ b/esphome/core/application.cpp @@ -91,12 +91,10 @@ 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()); this->before_component_phase_(); for (uint32_t j = 0; j <= i; j++) {