From c5661c72dc5c63c5c3407ef92e40a406c5196426 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 29 Apr 2026 07:25:07 -0500 Subject: [PATCH] [esp8266] Drop redundant arch_get_cpu_cycle_count() decl The inline def above was already in place; the bare decl was inherited via the merge from followup/hal-esp32 and is now redundant on this PR. --- esphome/core/hal/hal_esp8266.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/esphome/core/hal/hal_esp8266.h b/esphome/core/hal/hal_esp8266.h index 976b697686..b6e3b1ee3c 100644 --- a/esphome/core/hal/hal_esp8266.h +++ b/esphome/core/hal/hal_esp8266.h @@ -66,8 +66,6 @@ __attribute__((always_inline)) inline void arch_init() {} __attribute__((always_inline)) inline uint32_t arch_get_cpu_cycle_count() { return esp_get_cycle_count(); } __attribute__((always_inline)) inline uint32_t arch_get_cpu_freq_hz() { return F_CPU; } -uint32_t arch_get_cpu_cycle_count(); - } // namespace esphome #endif // USE_ESP8266