mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
clang-format
This commit is contained in:
parent
0c56fccb90
commit
72e5d514d7
1 changed files with 4 additions and 6 deletions
|
@ -67,7 +67,6 @@ uint16_t shelly_dimmer_checksum(const uint8_t *buf, int len) {
|
||||||
bool ShellyDimmer::is_running_configured_version() const {
|
bool ShellyDimmer::is_running_configured_version() const {
|
||||||
return this->version_major_ == USE_SHD_FIRMWARE_MAJOR_VERSION &&
|
return this->version_major_ == USE_SHD_FIRMWARE_MAJOR_VERSION &&
|
||||||
this->version_minor_ == USE_SHD_FIRMWARE_MINOR_VERSION;
|
this->version_minor_ == USE_SHD_FIRMWARE_MINOR_VERSION;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ShellyDimmer::handle_firmware() {
|
void ShellyDimmer::handle_firmware() {
|
||||||
|
@ -104,7 +103,6 @@ void ShellyDimmer::setup() {
|
||||||
|
|
||||||
ESP_LOGI(TAG, "Initializing Shelly Dimmer...");
|
ESP_LOGI(TAG, "Initializing Shelly Dimmer...");
|
||||||
|
|
||||||
|
|
||||||
this->handle_firmware();
|
this->handle_firmware();
|
||||||
|
|
||||||
this->send_settings_();
|
this->send_settings_();
|
||||||
|
|
Loading…
Reference in a new issue