From c410f2d1511473a120a55d199237b3166dcedd6f Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Fri, 19 Mar 2021 23:40:41 +0800 Subject: [PATCH] fix tlora 1.6 build --- src/configuration.h | 6 +++--- src/plugins/AdminPlugin.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/configuration.h b/src/configuration.h index e389e46c..d6e00e89 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -338,7 +338,7 @@ along with this program. If not, see . #elif defined(TLORA_V2_1_16) // This string must exactly match the case used in release file names or the android updater won't work -#define HW_VENDOR HardwareModel_TLORA_V2_1p6_ +#define HW_VENDOR HardwareModel_TLORA_V2_1_1p6 #undef GPS_RX_PIN #undef GPS_TX_PIN @@ -382,8 +382,8 @@ along with this program. If not, see . #define LED_PIN 12 // If defined we will blink this LED //#define BUTTON_PIN 36 // If defined, this will be used for user button presses (ToDo problem on that line on debug screen --> -//Long press start!) #define BUTTON_NEED_PULLUP //GPIOs 34 to 39 are GPIs – input only pins. These pins don’t have internal -//pull-ups or pull-down resistors. +// Long press start!) #define BUTTON_NEED_PULLUP //GPIOs 34 to 39 are GPIs – input only pins. These pins don’t have internal +// pull-ups or pull-down resistors. #define USE_RF95 #define LORA_DIO0 38 // a No connect on the SX1262 module diff --git a/src/plugins/AdminPlugin.cpp b/src/plugins/AdminPlugin.cpp index e80ae32a..65c90112 100644 --- a/src/plugins/AdminPlugin.cpp +++ b/src/plugins/AdminPlugin.cpp @@ -55,7 +55,7 @@ bool AdminPlugin::handleReceivedProtobuf(const MeshPacket &mp, const AdminMessag break; case AdminMessage_set_channel_tag: - DEBUG_MSG("Client is setting channel\n"); + DEBUG_MSG("Client is setting channel %d\n", r->set_channel.index); handleSetChannel(r->set_channel); break;