From 08d57c1266ea60b60dd585a2cea311c4352f4143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Fri, 26 Apr 2024 15:22:17 +0100 Subject: [PATCH] namign --- esphome/components/ebyte_lora/ebyte_lora.cpp | 4 ++-- esphome/components/ebyte_lora/ebyte_lora.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/components/ebyte_lora/ebyte_lora.cpp b/esphome/components/ebyte_lora/ebyte_lora.cpp index c3e8cf978d..f57b28f2da 100644 --- a/esphome/components/ebyte_lora/ebyte_lora.cpp +++ b/esphome/components/ebyte_lora/ebyte_lora.cpp @@ -4,7 +4,7 @@ namespace ebyte_lora { static const uint8_t SWITCH_PUSH = 0x55; static const uint8_t SWITCH_INFO = 0x66; static const uint8_t PROGRAM_CONF = 0xC1; -bool EbyteLoraComponent::check_config() { +bool EbyteLoraComponent::check_config_() { bool success = true; if (this->current_config_.addh != this->expected_config_.addh) { ESP_LOGD(TAG, "addh was not set right"); @@ -63,7 +63,7 @@ void EbyteLoraComponent::update() { this->get_current_config_(); return; } else { - if (!this->check_config()) { + if (!this->check_config_()) { ESP_LOGD(TAG, "Config is not right, have to do something about that!"); } } diff --git a/esphome/components/ebyte_lora/ebyte_lora.h b/esphome/components/ebyte_lora/ebyte_lora.h index 0a328377e3..d0f4ac70be 100644 --- a/esphome/components/ebyte_lora/ebyte_lora.h +++ b/esphome/components/ebyte_lora/ebyte_lora.h @@ -54,7 +54,7 @@ class EbyteLoraComponent : public PollingComponent, public uart::UARTDevice { // checks the aux port to see if it is done setting void setup_wait_response_(uint32_t timeout = 1000); bool can_send_message_(); - bool check_config(); + bool check_config_(); void get_current_config_(); void send_switch_push_(uint8_t pin, bool value); void send_switch_info_();