Fix backwards buttons on Thinknode-M1 (#8901)

This commit is contained in:
Jonathan Bennett
2025-12-08 17:58:23 -06:00
committed by GitHub
parent bd4bcb94f0
commit c3a69a2742

View File

@@ -62,17 +62,11 @@ extern "C" {
/*
* Buttons
*/
#define PIN_BUTTON2 (32 + 10)
#define PIN_BUTTON1 (32 + 10)
#define PIN_BUTTON2 (32 + 7)
#define ALT_BUTTON_PIN PIN_BUTTON2
#define ALT_BUTTON_ACTIVE_LOW true
#define ALT_BUTTON_ACTIVE_PULLUP true
#define PIN_BUTTON1 (32 + 7)
// #define PIN_BUTTON1 (0 + 11)
// #define PIN_BUTTON1 (32 + 7)
// #define BUTTON_CLICK_MS 400
// #define BUTTON_TOUCH_MS 200
/*
* Analog pins
@@ -203,4 +197,4 @@ External serial flash WP25R1635FZUIL0
}
#endif
#endif
#endif