Skip to content

Commit 2c4bf13

Browse files
committed
Bug fix in 0.8.4 when changing priority.
1 parent 86d52a4 commit 2c4bf13

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"license": "MIT",
1818
"dependencies": {
1919
},
20-
"version": "0.8.4",
20+
"version": "0.8.5",
2121
"frameworks": "arduino",
2222
"platforms": "espressif32"
2323
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=M5Stack_Avatar
2-
version=0.8.4
2+
version=0.8.5
33
author=Shinya Ishikawa
44
maintainer=Shinya Ishikawa<ishikawa.s.1027@gmail.com>
55
sentence=Yet another avatar module for M5Stack

src/Avatar.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include "Avatar.h"
66
namespace m5avatar {
7-
const uint32_t DEFAULT_STACK_SIZE = 1024;
7+
const uint32_t DEFAULT_STACK_SIZE = 2048;
88

99
unsigned int seed = 0;
1010

@@ -94,7 +94,7 @@ void Avatar::addTask(TaskFunction_t f, const char* name) {
9494
name, /* Name of the task */
9595
DEFAULT_STACK_SIZE, /* Stack size in words */
9696
ctx, /* Task input parameter */
97-
4, /* P2014riority of the task */
97+
3, /* P2014riority of the task */
9898
NULL, /* Task handle. */
9999
APP_CPU_NUM);
100100
// xTaskCreatePinnedToCore(f, /* Function to implement the task */
@@ -133,15 +133,15 @@ void Avatar::start(int colorDepth) {
133133
"drawLoop", /* Name of the task */
134134
2048, /* Stack size in words */
135135
ctx, /* Task input parameter */
136-
2, /* Priority of the task */
136+
1, /* Priority of the task */
137137
&drawTaskHandle, /* Task handle. */
138138
APP_CPU_NUM);
139139

140140
xTaskCreateUniversal(facialLoop, /* Function to implement the task */
141141
"facialLoop", /* Name of the task */
142142
1024, /* Stack size in words */
143143
ctx, /* Task input parameter */
144-
3, /* Priority of the task */
144+
2, /* Priority of the task */
145145
NULL, /* Task handle. */
146146
APP_CPU_NUM);
147147
}

0 commit comments

Comments
 (0)