mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-01 10:13:29 +00:00
a2dp: fix compile for ENABLE_A2DP_EXPLICIT_CONFIG
This commit is contained in:
parent
bb90a366cb
commit
1c1afb4d65
@ -474,7 +474,7 @@ uint8_t a2dp_config_process_config_init(avdtp_role_t role, avdtp_connection_t *c
|
|||||||
config_process->have_config = true;
|
config_process->have_config = true;
|
||||||
|
|
||||||
#ifdef ENABLE_A2DP_EXPLICIT_CONFIG
|
#ifdef ENABLE_A2DP_EXPLICIT_CONFIG
|
||||||
if (config_process->state == A2DP_DISCOVERY_DONE)
|
if (config_process->state == A2DP_DISCOVERY_DONE){
|
||||||
config_process->state = A2DP_SET_CONFIGURATION;
|
config_process->state = A2DP_SET_CONFIGURATION;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user