Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ void setup()

void loop()
{
rtos::ThisThread::yield();

}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ void setup()
Consumer.start();
}

void loop() {
rtos::ThisThread::yield();
void loop()
{

}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ void setup()

void loop()
{
rtos::ThisThread::yield();

}
6 changes: 1 addition & 5 deletions examples/Threadsafe_IO/Threadsafe_Wire/Threadsafe_Wire.ino
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ void setup()

void loop()
{
/* If we don't hand back control then the main thread
* will hog the CPU and all other thread's won't get
* time to be executed.
*/
rtos::ThisThread::yield();

}

/**************************************************************************************
Expand Down