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()
139
139
bt_device_wake = WAKE_EVENT_ACTIVE_HIGH;
140
140
}
141
141
sleep_manager_unlock_deep_sleep ();
142
- rtos::ThisThread::sleep_for (500 );
142
+ rtos::ThisThread::sleep_for (500ms );
143
143
}
144
144
145
145
void CyH4TransportDriver::terminate () { }
Original file line number Diff line number Diff line change @@ -99,9 +99,9 @@ class HCIDriver : public cordio::CordioHCIDriver {
99
99
{
100
100
// Prevent PSoC6 to enter deep-sleep till BT initialization is complete
101
101
sleep_manager_lock_deep_sleep ();
102
- rtos::ThisThread::sleep_for (500 );
102
+ rtos::ThisThread::sleep_for (500ms );
103
103
bt_power = 1 ;
104
- rtos::ThisThread::sleep_for (500 );
104
+ rtos::ThisThread::sleep_for (500ms );
105
105
}
106
106
107
107
virtual void do_terminate () { }
@@ -364,7 +364,7 @@ class HCIDriver : public cordio::CordioHCIDriver {
364
364
service_pack_next = &HCIDriver::terminate_service_pack_transfert;;
365
365
service_pack_index = 0 ;
366
366
service_pack_transfered = false ;
367
- rtos::ThisThread::sleep_for (1000 );
367
+ rtos::ThisThread::sleep_for (1s );
368
368
send_service_pack_command ();
369
369
}
370
370
You can’t perform that action at this time.
0 commit comments