From a68520e7a7928600603e70d0a618848b4897a84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=A9=AC=5F666?= <13089258+pony-six-hundred-and-sixty-six@user.noreply.gitee.com> Date: Fri, 24 Jan 2025 09:45:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=88=9A=E6=89=8D=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E7=9A=84=E4=B8=80=E4=B8=AA=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/src/bsp_button.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/src/bsp_button.c b/bsp/src/bsp_button.c index b9f2a59..d5089e0 100644 --- a/bsp/src/bsp_button.c +++ b/bsp/src/bsp_button.c @@ -88,6 +88,7 @@ static void _BUTTON_Process(void *param) int BSP_BUTTON_Init(void) { + rt_err_t ret = RT_EOK; rt_memset(&user_button[0], 0x0, sizeof(user_button)); rt_pin_mode(BUTTON_0, PIN_MODE_INPUT_PULLUP); /* set KEY pin mode to input */