Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Sleep using ThisThread::sleep_for #2

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cores/arduino/wiring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ unsigned long micros() {

void delay(unsigned long ms)
{
thread_sleep_for(ms);
ThisThread::sleep_for(ms);
}

void delayMicroseconds(unsigned int us)
Expand Down