From 7295803dde98a3b3a0597fec5f346984260c00bf Mon Sep 17 00:00:00 2001 From: Gregg Date: Fri, 8 Oct 2021 05:47:51 -0500 Subject: [PATCH] Remove LED_BUILTIN as default for statusPin HomeSpan default is that there is NO control button and NO status LED. Must use setStatusPin() or setControlPin() to enable. --- src/Settings.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Settings.h b/src/Settings.h index bcf1178..d8391f0 100644 --- a/src/Settings.h +++ b/src/Settings.h @@ -68,12 +68,7 @@ #define DEFAULT_QR_ID "HSPN" // change with homeSpan.setQRID(qrID); #define DEFAULT_CONTROL_PIN -1 // change with homeSpan.setControlPin(pin) - -#ifdef LED_BUILTIN -#define DEFAULT_STATUS_PIN LED_BUILTIN // change with homeSpan.setStatusPin(pin) -#else #define DEFAULT_STATUS_PIN -1 // change with homeSpan.setStatusPin(pin) -#endif #define DEFAULT_AP_SSID "HomeSpan-Setup" // change with homeSpan.setApSSID(ssid) #define DEFAULT_AP_PASSWORD "homespan" // change with homeSpan.setApPassword(pwd)