Change user button to cancel button on meshtiny. (#7789)

This commit is contained in:
Wilson
2025-08-30 08:37:18 +08:00
committed by GitHub
parent b53dd2ec90
commit 4a669032dc
2 changed files with 4 additions and 15 deletions

View File

@@ -21,8 +21,6 @@
#define MESHTINY
// #define RAK4630
/** Master clock frequency */
#define VARIANT_MCK (64000000ul)
@@ -76,11 +74,10 @@ extern "C" {
* Buttons
*/
#define PIN_BUTTON1 9
#define CANCEL_BUTTON_PIN 9
#define BUTTON_NEED_PULLUP
#define PIN_BUTTON2 12
#define PIN_BUTTON3 24
#define PIN_BUTTON4 25
#define CANCEL_BUTTON_ACTIVE_LOW true
#define CANCEL_BUTTON_ACTIVE_PULLUP false
/*
* Analog pins