Skip to content

Commit 218383e

Browse files
committed
Minor cosmetic operations
1 parent 5fe1520 commit 218383e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ThreadsafeIO/examples/ts_spi/ts_spi.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void setup()
5050
pinMode(BMP388_CS_PIN, OUTPUT);
5151
digitalWrite(BMP388_CS_PIN, HIGH);
5252

53-
for(size_t i = 0; i < 20; i++)
53+
for(size_t i = 0; i < NUM_THREADS; i++)
5454
{
5555
snprintf(thread_name[i], sizeof(thread_name[i]), "Thread #%02d", i);
5656
rtos::Thread * t = new rtos::Thread(osPriorityNormal, OS_STACK_SIZE, nullptr, thread_name[i]);

ThreadsafeIO/examples/ts_wire/ts_wire.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
#include <ThreadsafeIO.h>
66

7-
#include <Wire.h>
8-
97
/**************************************************************************************
108
* CONSTANTS
119
**************************************************************************************/

0 commit comments

Comments
 (0)