File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
features/FEATURE_BLE/targets/TARGET_Cypress/COMPONENT_CYW43XXX Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ void CyH4TransportDriver::initialize()
139139 bt_device_wake = WAKE_EVENT_ACTIVE_HIGH;
140140 }
141141 sleep_manager_unlock_deep_sleep ();
142- rtos::ThisThread::sleep_for (500 );
142+ rtos::ThisThread::sleep_for (500ms );
143143}
144144
145145void CyH4TransportDriver::terminate () { }
Original file line number Diff line number Diff line change @@ -99,9 +99,9 @@ class HCIDriver : public cordio::CordioHCIDriver {
9999 {
100100 // Prevent PSoC6 to enter deep-sleep till BT initialization is complete
101101 sleep_manager_lock_deep_sleep ();
102- rtos::ThisThread::sleep_for (500 );
102+ rtos::ThisThread::sleep_for (500ms );
103103 bt_power = 1 ;
104- rtos::ThisThread::sleep_for (500 );
104+ rtos::ThisThread::sleep_for (500ms );
105105 }
106106
107107 virtual void do_terminate () { }
@@ -364,7 +364,7 @@ class HCIDriver : public cordio::CordioHCIDriver {
364364 service_pack_next = &HCIDriver::terminate_service_pack_transfert;;
365365 service_pack_index = 0 ;
366366 service_pack_transfered = false ;
367- rtos::ThisThread::sleep_for (1000 );
367+ rtos::ThisThread::sleep_for (1s );
368368 send_service_pack_command ();
369369 }
370370
You can’t perform that action at this time.
0 commit comments