hfp: output EC/NR setting

This commit is contained in:
Matthias Ringwald 2015-11-23 22:12:31 +01:00
parent a878b4b590
commit 6602462385

View File

@ -1317,6 +1317,7 @@ static void hfp_handle_rfcomm_data(uint8_t packet_type, uint16_t channel, uint8_
if (get_bit(hfp_supported_features, HFP_AGSF_EC_NR_FUNCTION)){
context->ok_pending = 1;
hfp_supported_features = store_bit(hfp_supported_features, HFP_AGSF_EC_NR_FUNCTION, context->ag_echo_and_noise_reduction);
printf("AG: EC/NR = %u\n", context->ag_echo_and_noise_reduction);
} else {
context->send_error = 1;
}