Skip to content

Commit 1ba5f3f

Browse files
fix encode
1 parent 71b8be9 commit 1ba5f3f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

cores/ArduinOS/main.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@ void MainTask(void *parameters)
2121

2222
void SetupTask(void *parameters)
2323
{
24-
// SetupTaskが処理を終えるまで他タスクを実行させない.
24+
// SetupTaskが処理を終えるまで他タスクを実行させない.
2525
TaskSuspendAll();
2626
{
2727
setup();
28-
2928
TaskCreate(MainTask, (signed PortChar *)"Main", mainLoopStackSize, NULL, mainLoopPriority, &loopTaskHandle);
30-
3129
}
3230
TaskResumeAll();
3331

examples/Basics/Blink/Blink.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* Blink with sending millis by serial
3+
*/
14

25
DeclareTaskLoop(SerialTask);
36

@@ -18,8 +21,6 @@ void loop() {
1821
}
1922

2023
TaskLoop(SerialTask){
21-
2224
Serial.println(millis());
2325
DelayWithBlocked(1000);
24-
2526
}

0 commit comments

Comments
 (0)