From 7f03cf80196f785e69bbf37741a9e5bbb107b633 Mon Sep 17 00:00:00 2001 From: jhChun Date: Thu, 26 Mar 2026 11:42:26 +0900 Subject: [PATCH] =?UTF-8?q?GPIO=20=EC=B4=88=EA=B8=B0=ED=99=94=20POWER=5FHO?= =?UTF-8?q?LD(P0.8)=20=EC=A4=91=EB=B3=B5=20=EC=84=A4=EC=A0=95=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - main.c: power_hold_init()에서 전원버튼(P0.8) 설정 후 gpio_init()에서 중복 설정 - gpio_init()에서 중복 설정 부분 제거 --- project/ble_peripheral/ble_app_bladder_patch/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/project/ble_peripheral/ble_app_bladder_patch/main.c b/project/ble_peripheral/ble_app_bladder_patch/main.c index a5a0cf0..1b22ceb 100644 --- a/project/ble_peripheral/ble_app_bladder_patch/main.c +++ b/project/ble_peripheral/ble_app_bladder_patch/main.c @@ -340,8 +340,6 @@ static void power_control_handler(on_off_cont_t device_power_st) static void gpio_init(void) { nrf_gpio_cfg_input(POWER_BUTTON, NRF_GPIO_PIN_NOPULL); - nrf_gpio_cfg_output(POWER_HOLD); - nrf_gpio_pin_set(POWER_HOLD); DBG_PRINTF("[GPIO] OK (BTN=%d)\r\n", nrf_gpio_pin_read(POWER_BUTTON)); }