mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 23:37:34 +00:00
[bl0940] Fix reset_calibration() declaration missing from header (#14676)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
4b50d14496
commit
fba21e6dd4
@@ -69,10 +69,8 @@ class BL0940 : public PollingComponent, public uart::UARTDevice {
|
||||
void set_energy_calibration_number(number::Number *num) { this->energy_calibration_number_ = num; }
|
||||
#endif
|
||||
|
||||
#ifdef USE_BUTTON
|
||||
// Resets all calibration values to defaults (can be triggered by a button)
|
||||
// Resets all calibration values to defaults
|
||||
void reset_calibration();
|
||||
#endif
|
||||
|
||||
// Core component methods
|
||||
void loop() override;
|
||||
|
||||
Reference in New Issue
Block a user