[esp32] Define BUTTON_PIN (-1) by default, fixes #6213

Signed-off-by: Andrew Yong <me@ndoo.sg>
This commit is contained in:
Andrew Yong 2025-03-23 19:54:10 +08:00
parent 1ee800e901
commit cf491ed239
No known key found for this signature in database
GPG Key ID: AD5218B6B83146AE

View File

@ -110,6 +110,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// Define if screen should be mirrored left to right // Define if screen should be mirrored left to right
// #define SCREEN_MIRROR // #define SCREEN_MIRROR
// Define BUTTON_PIN to ensure button setup is always done
#ifndef BUTTON_PIN
#define BUTTON_PIN (-1)
#endif
// I2C Keyboards (M5Stack, RAK14004, T-Deck) // I2C Keyboards (M5Stack, RAK14004, T-Deck)
#define CARDKB_ADDR 0x5F #define CARDKB_ADDR 0x5F
#define TDECK_KB_ADDR 0x55 #define TDECK_KB_ADDR 0x55