mirror of
https://github.com/esphome/esphome.git
synced 2026-10-02 09:20:22 +00:00
[components] Remove redundant setup priority overrides that duplicate default (#13745)
This commit is contained in:
@@ -69,7 +69,5 @@ int8_t M5Stack8AngleComponent::read_switch() {
|
||||
}
|
||||
}
|
||||
|
||||
float M5Stack8AngleComponent::get_setup_priority() const { return setup_priority::DATA; }
|
||||
|
||||
} // namespace m5stack_8angle
|
||||
} // namespace esphome
|
||||
|
||||
@@ -21,7 +21,6 @@ class M5Stack8AngleComponent : public i2c::I2CDevice, public Component {
|
||||
public:
|
||||
void setup() override;
|
||||
void dump_config() override;
|
||||
float get_setup_priority() const override;
|
||||
float read_knob_pos(uint8_t channel, AnalogBits bits = AnalogBits::BITS_8);
|
||||
int32_t read_knob_pos_raw(uint8_t channel, AnalogBits bits = AnalogBits::BITS_8);
|
||||
int8_t read_switch();
|
||||
|
||||
Reference in New Issue
Block a user