Skip to content

Commit

Permalink
Fix CriticalSection.ino and keywords.txt, bump version to 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Floessie committed Feb 4, 2018
1 parent 4e38f3c commit 75978ae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 3 additions & 5 deletions examples/CriticalSection/CriticalSection.ino
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,16 @@ namespace

void setup()
{
// High speed output so we don't stall on Serial with mutex locked
Serial.begin(115200);
Serial.begin(9600);

while (!Serial);

// This is ATMega328 specific
ADMUX = bit(REFS0); // AVcc as reference

// Start monitoring and print task with same priority to test
// round-robin scheduling.
monitoring_task.start(1);
// Start both tasks
print_task.start(1);
monitoring_task.start(2);
}

void loop()
Expand Down
9 changes: 5 additions & 4 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ finalizePostFromInterrupt KEYWORD2
yield KEYWORD2
msleep KEYWORD2
wait KEYWORD2
beginCriticalSection KEYWORD2
endCriticalSection KEYWORD2
lock KEYWORD2
unlock KEYWORD2
getFillLevel KEYWORD2
push KEYWORD2
preparePushFromInterrupt KEYWORD2
pushFromInterrupt KEYWORD2
Expand All @@ -25,7 +30,3 @@ pop KEYWORD2
preparePopFromInterrupt KEYWORD2
popFromInterrupt KEYWORD2
finalizePopFromInterrupt KEYWORD2
lock KEYWORD2
unlock KEYWORD2
beginCriticalSection KEYWORD2
endCriticalSection KEYWORD2
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=frt
version=0.0.1
version=0.9.0
author=Flössie <[email protected]>
maintainer=Flössie <[email protected]>
sentence=Lightweight, easy-to-use wrapper around the Arduino_FreeRTOS_Library.
Expand Down

0 comments on commit 75978ae

Please sign in to comment.