Skip to content

Commit 941cc8b

Browse files
committed
Fixed priority explanation comment.
1 parent 86154a8 commit 941cc8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/AnalogRead_DigitalRead/AnalogRead_DigitalRead.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void setup() {
3131
, (const portCHAR *)"DigitalRead" // A name just for humans
3232
, 128 // This stack size can be checked & adjusted by reading the Stack Highwater
3333
, NULL
34-
, 2 // Priority, with 1 being the highest, and 4 being the lowest.
34+
, 2 // Priority, with 3 (configMAX_PRIORITIES - 1) being the highest, and 0 being the lowest.
3535
, NULL );
3636

3737
xTaskCreate(

0 commit comments

Comments
 (0)