From 63578802b9be53bc95a4942cb45876e8cc5c697a Mon Sep 17 00:00:00 2001 From: Jisheng Zhang Date: Wed, 26 Jun 2024 22:43:30 +0800 Subject: [PATCH] [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. --- bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);