From 46d8e72559f4aba5c6c97db59f7de0b3583c74a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Mon, 25 Mar 2024 12:45:00 +0000 Subject: [PATCH] noi tabs and conf --- esphome/components/lora/lora.cpp | 2 +- esphome/components/lora/lora.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/lora/lora.cpp b/esphome/components/lora/lora.cpp index 2354914f98..d68a390ca5 100644 --- a/esphome/components/lora/lora.cpp +++ b/esphome/components/lora/lora.cpp @@ -57,7 +57,7 @@ bool Lora::setMode(MODE_TYPE mode) { ESP_LOGD(TAG, "MODE WOR!"); break; case MODE_2_WOR_RECEIVER: - // case MODE_2_PROGRAM: + // case MODE_2_PROGRAM: this->pin_m0->digital_write(false); this->pin_m1->digital_write(true); ESP_LOGD(TAG, "MODE RECEIVING!"); diff --git a/esphome/components/lora/lora.h b/esphome/components/lora/lora.h index 74b389ac55..c3a5744f5b 100644 --- a/esphome/components/lora/lora.h +++ b/esphome/components/lora/lora.h @@ -12,7 +12,7 @@ namespace esphome { namespace lora { static const char *const TAG = "lora"; -#define MAX_SIZE_TX_PACKET 200 +static const uint8_t MAX_SIZE_TX_PACKET = 200; // the mode the receiver is in enum MODE_TYPE { MODE_0_NORMAL = 0,