Skip to content

Commit 9f5f543

Browse files
committed
cleanup application task priotity gaps
1 parent fb64d76 commit 9f5f543

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

analyze_core

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
espcoredump.py dbg_corefile --core-format b64 --core $1 /home/gittest2/XCVario/build/sensor.elf
1+
espcoredump.py dbg_corefile --core-format b64 --core $1 ~/XCVario/build/sensor.elf
22

main/ESPAudio.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ void Audio::startAudio(){
459459
_testmode = false;
460460
evaluateChopping();
461461
p_wiper = &wiper;
462-
xTaskCreatePinnedToCore(&dactask, "dactask", 2400, NULL, 25, &dactid, 0);
462+
xTaskCreatePinnedToCore(&dactask, "dactask", 2400, NULL, 19, &dactid, 0);
463463
}
464464

465465
bool Audio::calcS2Fmode(){

main/Serial.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,9 @@ void Serial::taskStart(){
299299
bool serial2 = (serial2_speed.get() != 0 && hardwareRevision.get() >= 3);
300300

301301
if( serial1 ){
302-
xTaskCreatePinnedToCore(&serialHandler, "serialHandler1", 4096, &S1, 22, &S1.pid, 0); // stay below canbus
302+
xTaskCreatePinnedToCore(&serialHandler, "serialHandler1", 4096, &S1, 16, &S1.pid, 0); // stay below canbus
303303
}
304304
if( serial2 ){
305-
xTaskCreatePinnedToCore(&serialHandler, "serialHandler2", 4096, &S2, 22, &S2.pid, 0); // stay below canbus
305+
xTaskCreatePinnedToCore(&serialHandler, "serialHandler2", 4096, &S2, 16, &S2.pid, 0); // stay below canbus
306306
}
307307
}

main/canbus.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ void CANbus::begin()
168168
}
169169
ESP_LOGI(FNAME,"CANbus::begin");
170170
driverInstall( TWAI_MODE_NORMAL );
171-
xTaskCreatePinnedToCore(&canTxTask, "canTxTask", 4096, this, 23, 0, 0);
172-
xTaskCreatePinnedToCore(&canRxTask, "canRxTask", 4096, this, 23, 0, 0);
171+
xTaskCreatePinnedToCore(&canTxTask, "canTxTask", 4096, this, 17, 0, 0);
172+
xTaskCreatePinnedToCore(&canRxTask, "canRxTask", 4096, this, 17, 0, 0);
173173
}
174174

175175
// receive message of corresponding ID,

0 commit comments

Comments
 (0)