From 46b0c9331b83938120c14be7235e1538439c0f0e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 21 Apr 2026 05:57:35 +0200 Subject: [PATCH] Apply suggestion from @bdraco --- esphome/core/application.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/core/application.h b/esphome/core/application.h index d6ca9b829bf..1bae34aa074 100644 --- a/esphome/core/application.h +++ b/esphome/core/application.h @@ -611,7 +611,8 @@ inline uint32_t ESPHOME_ALWAYS_INLINE Application::before_loop_tasks_(uint32_t l return last_op_end_time; } -inline void ESPHOME_ALWAYS_INLINE __attribute__((optimize("O2"))) Application::loop() { +inline void ESPHOME_ALWAYS_INLINE __attribute__((optimize("O2"))) // NOLINT(clang-diagnostic-unknown-attributes) +Application::loop() { #ifdef USE_RUNTIME_STATS // Capture the start of the active (non-sleeping) portion of this iteration. // Used to derive main-loop overhead = active time − Σ(component time) −