From fe62696f0f4b5426604c43ee62ebf8310f8b8d8f Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 30 Mar 2021 11:34:51 +0200 Subject: [PATCH] hfp demos: remove the warning about unhandled HFP meta events --- example/hfp_ag_demo.c | 1 - example/hfp_hf_demo.c | 1 - 2 files changed, 2 deletions(-) diff --git a/example/hfp_ag_demo.c b/example/hfp_ag_demo.c index c1b909810..51320d438 100644 --- a/example/hfp_ag_demo.c +++ b/example/hfp_ag_demo.c @@ -531,7 +531,6 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t * even printf("Call answered by HF\n"); break; default: - printf("Event not handled %u\n", hci_event_hfp_meta_get_subevent_code(event)); break; } break; diff --git a/example/hfp_hf_demo.c b/example/hfp_hf_demo.c index f9f2576e9..4115f217b 100644 --- a/example/hfp_hf_demo.c +++ b/example/hfp_hf_demo.c @@ -556,7 +556,6 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t * even printf(" - number : %s \n", hfp_subevent_enhanced_call_status_get_bnip_number(event)); break; default: - printf("event not handled 0x%02x\n", hci_event_hfp_meta_get_subevent_code(event)); break; } break;