mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 09:44:12 +01:00
noi tabs and conf
This commit is contained in:
parent
d0d5781716
commit
46d8e72559
2 changed files with 2 additions and 2 deletions
|
@ -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!");
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue