diff --git a/esphome/core/component.h b/esphome/core/component.h index fd99295c86..bef275f972 100644 --- a/esphome/core/component.h +++ b/esphome/core/component.h @@ -109,9 +109,7 @@ class Component { float get_actual_setup_priority() const; -#ifdef USE_SETUP_PRIORITY_OVERRIDE void set_setup_priority(float priority); -#endif /** priority of loop(). higher -> executed earlier * @@ -564,9 +562,8 @@ class WarnIfComponentBlockingGuard { Component *component_; }; -#ifdef USE_SETUP_PRIORITY_OVERRIDE // Function to clear setup priority overrides after all components are set up +// Only has an implementation when USE_SETUP_PRIORITY_OVERRIDE is defined void clear_setup_priority_overrides(); -#endif } // namespace esphome