Prevent touching buds during charge putting us into DFU
This commit is contained in:
parent
050113160d
commit
bcc29aa0a8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue