remove printf

This commit is contained in:
Milanka Ringwald 2016-06-29 14:52:45 +02:00
parent 60ebb071aa
commit 41d0c87b0d
2 changed files with 0 additions and 18 deletions

View File

@ -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<size; i++){
pos+=8;
if (packet[pos] > 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;

View File

@ -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;