From bcc29aa0a8fead12d05e43a492aa4f4f28e8471d Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Wed, 28 Dec 2022 18:18:13 +1100 Subject: [PATCH] Prevent touching buds during charge putting us into DFU --- apps/main/apps.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/main/apps.cpp b/apps/main/apps.cpp index 2c82eca..9ebc56d 100644 --- a/apps/main/apps.cpp +++ b/apps/main/apps.cpp @@ -1401,8 +1401,8 @@ void app_key_init_on_charging(void) { uint8_t i = 0; const APP_KEY_HANDLE key_cfg[] = { - {{APP_KEY_CODE_PWR,APP_KEY_EVENT_REPEAT},"ota function key",app_ota_key_handler, NULL}, - {{APP_KEY_CODE_PWR,APP_KEY_EVENT_CLICK},"bt function key",app_dfu_key_handler, NULL}, + // {{APP_KEY_CODE_PWR,APP_KEY_EVENT_REPEAT},"ota function key",app_ota_key_handler, NULL}, + // {{APP_KEY_CODE_PWR,APP_KEY_EVENT_CLICK},"bt function key",app_dfu_key_handler, NULL}, #ifdef __USB_COMM__ {{APP_KEY_CODE_PWR,APP_KEY_EVENT_LONGPRESS},"usb cdc key",app_usb_cdc_comm_key_handler, NULL}, #endif