diff --git a/.gitignore b/.gitignore index 40bba6f69..3d181a39a 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,6 @@ flash.uf2 cmake-build* __pycache__ +*.swp +*.swo +*~ diff --git a/bin/.promote-release.sh.swp b/bin/.promote-release.sh.swp deleted file mode 100644 index 0dddde02b..000000000 Binary files a/bin/.promote-release.sh.swp and /dev/null differ diff --git a/src/configuration.h b/src/configuration.h index 473a92114..89fa106ff 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -244,6 +244,7 @@ along with this program. If not, see . #define BUTTON_PIN 39 // The middle button GPIO on the T-Beam #define EXT_NOTIFY_OUT 12 // Overridden default pin to use for Ext Notify Plugin (#975). +#define LED_PIN 2 // add status LED (compatible with core-pcb and DIY targets) #define LORA_DIO0 26 // a No connect on the SX1262/SX1268 module #define LORA_RESET 23 // RST for SX1276, and for SX1262/SX1268 diff --git a/src/mqtt/MQTT.cpp b/src/mqtt/MQTT.cpp index 6235f37f7..26ef2a3e7 100644 --- a/src/mqtt/MQTT.cpp +++ b/src/mqtt/MQTT.cpp @@ -95,7 +95,7 @@ void MQTT::reconnect() } pubSub.setServer(serverAddr, serverPort); - DEBUG_MSG("Connecting to MQTT server %s, port: %d, username: %s, password %s\n", serverAddr, serverPort, mqttUsername, mqttPassword); + DEBUG_MSG("Connecting to MQTT server %s, port: %d, username: %s, password: %s\n", serverAddr, serverPort, mqttUsername, mqttPassword); auto myStatus = (statusTopic + owner.id); bool connected = pubSub.connect(owner.id, mqttUsername, mqttPassword, myStatus.c_str(), 1, true, "offline"); if (connected) {