hfp_ag: fix reported microphone gain

This commit is contained in:
Matthias Ringwald 2021-03-31 18:22:02 +02:00
parent b956fff3a7
commit 2abbd98d4d

View File

@ -2049,7 +2049,7 @@ static void hfp_ag_handle_rfcomm_data(uint8_t packet_type, uint16_t channel, uin
hfp_connection->command = HFP_CMD_NONE;
hfp_connection->ok_pending = 1;
log_info("HF microphone gain = %u", hfp_connection->microphone_gain);
hfp_emit_event(hfp_connection, HFP_SUBEVENT_MICROPHONE_VOLUME, hfp_connection->speaker_gain);
hfp_emit_event(hfp_connection, HFP_SUBEVENT_MICROPHONE_VOLUME, hfp_connection->microphone_gain);
break;
default:
break;