mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 05:42:49 +00:00
pause for 2 seconds after toggling Apple BT
This commit is contained in:
parent
4884ef69f3
commit
efe00e9712
@ -81,6 +81,7 @@ int iphone_system_bt_enabled(){
|
|||||||
void iphone_system_bt_set_enabled(int enabled)
|
void iphone_system_bt_set_enabled(int enabled)
|
||||||
{
|
{
|
||||||
SBA_setBluetoothEnabled(enabled);
|
SBA_setBluetoothEnabled(enabled);
|
||||||
|
sleep(2); // give change a chance
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user