summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2024-06-26 22:43:30 +0800
committerMeco Man <[email protected]>2024-06-26 23:54:42 +0800
commit63578802b9be53bc95a4942cb45876e8cc5c697a (patch)
tree6bbd3ec4b0446d06d05cdf27909073feb0701901
parent0f8f0620c3c570db91501189bd284db542945a2b (diff)
[bsp][nxp][frdm-mcxn236] fix SW btn
This is the SW2 button, a.k.a wakeup button on the board. Another choice is SW3 a.k.a ISP button which is connected to P0_6.
-rw-r--r--bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c b/bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c
index 11e08f1489..1d883aeacb 100644
--- a/bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c
+++ b/bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c
@@ -17,7 +17,7 @@
#include "drv_pin.h"
#define LEDB_PIN ((4*32)+18)
-#define BUTTON_PIN ((0*32)+23)
+#define BUTTON_PIN ((0*32)+20)
static void sw_pin_cb(void *args);