diff --git a/src/classic/hfp.c b/src/classic/hfp.c index f05bceebf..22d989d4c 100644 --- a/src/classic/hfp.c +++ b/src/classic/hfp.c @@ -129,21 +129,6 @@ int send_str_over_rfcomm(uint16_t cid, char * command){ return 1; } -#if 0 -void hfp_set_codec(hfp_connection_t * hfp_connection, uint8_t *packet, uint16_t size){ - // parse available codecs - int pos = 0; - int i; - for (i=0; i hfp_connection->negotiated_codec){ - hfp_connection->negotiated_codec = packet[pos]; - } - } - printf("Negotiated Codec 0x%02x\n", hfp_connection->negotiated_codec); -} -#endif - // UTILS int get_bit(uint16_t bitmap, int position){ return (bitmap >> position) & 1; diff --git a/src/classic/hsp_ag.c b/src/classic/hsp_ag.c index d055a3e5c..3aee3d938 100644 --- a/src/classic/hsp_ag.c +++ b/src/classic/hsp_ag.c @@ -286,7 +286,6 @@ void hsp_ag_connect(bd_addr_t bd_addr){ void hsp_ag_disconnect(void){ hsp_ag_release_audio_connection(); - printf(" rfcomm diconnect %d\n", hsp_state); if (hsp_state < HSP_W4_RFCOMM_CONNECTED){ hsp_state = HSP_IDLE; return; @@ -301,8 +300,6 @@ void hsp_ag_disconnect(void){ } void hsp_ag_establish_audio_connection(void){ - printf("hsp_ag_establish_audio_connection state %d\n", hsp_state); - switch (hsp_state){ case HSP_RFCOMM_CONNECTION_ESTABLISHED: hsp_establish_audio_connection = 1;