TWS swap more reliable
This commit is contained in:
parent
bc29fb1aaa
commit
87ba448f54
2 changed files with 7 additions and 1 deletions
|
@ -1945,6 +1945,7 @@ int app_deinit(int deinit_case)
|
|||
int nRet = 0;
|
||||
TRACE(2,"%s case:%d",__func__, deinit_case);
|
||||
app_tws_if_trigger_role_switch();
|
||||
osDelay(200); // This is a hack; a hackkitttyy hack. To wait for the tws exchange to occur
|
||||
#ifdef WL_DET
|
||||
app_mic_alg_audioloop(false,APP_SYSFREQ_78M);
|
||||
#endif
|
||||
|
|
|
@ -4844,7 +4844,12 @@ uint32_t app_bt_restore_hid_app_ctx(uint8_t *buf)
|
|||
uint32_t app_bt_restore_hid_app_ctx(uint8_t *buf)
|
||||
{return 4;}
|
||||
uint32_t app_bt_save_hid_app_ctx(uint8_t *buf)
|
||||
{return 4;}
|
||||
{
|
||||
buf[0]=0;
|
||||
buf[1]=0;
|
||||
buf[2]=0;
|
||||
buf[3]=0;
|
||||
return 4;}
|
||||
|
||||
#endif
|
||||
#endif /* ENHANCED_STACK */
|
||||
|
|
Loading…
Reference in a new issue