File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
features/FEATURE_BLE/targets/TARGET_Cypress/TARGET_CYW43XXX Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ void CyH4TransportDriver::initialize()
106
106
if (bt_device_wake_name != NC)
107
107
bt_device_wake = WAKE_EVENT_ACTIVE_HIGH;
108
108
}
109
- wait_ms (500 );
109
+ rtos::ThisThread::sleep_for (500 );
110
110
}
111
111
112
112
void CyH4TransportDriver::terminate () { }
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ class HCIDriver : public cordio::CordioHCIDriver {
82
82
virtual void do_initialize ()
83
83
{
84
84
bt_power = 1 ;
85
- wait_ms (500 );
85
+ rtos::ThisThread::sleep_for (500 );
86
86
}
87
87
88
88
virtual void do_terminate () { }
@@ -295,7 +295,7 @@ class HCIDriver : public cordio::CordioHCIDriver {
295
295
service_pack_next = &HCIDriver::terminate_service_pack_transfert;;
296
296
service_pack_index = 0 ;
297
297
service_pack_transfered = false ;
298
- wait_ms (1000 );
298
+ rtos::ThisThread::sleep_for (1000 );
299
299
send_service_pack_command ();
300
300
}
301
301
You can’t perform that action at this time.
0 commit comments