clang-format

This commit is contained in:
Niclas Larsson 2024-09-16 21:00:58 +02:00
parent 0c56fccb90
commit 72e5d514d7

View file

@ -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_();