Fix: Increase Huawei CAN task stack size

the stack size was already increased by Andreas Boehm in df53f34b51 in
the context of #1144 (SPI port manager). this change aligns the stack
size to a power of two and adds comments. the commit also serves to
place this change more prominently as a fix in the changelogs.
This commit is contained in:
Bernhard Kirchen 2024-08-28 15:10:07 +02:00
parent fff0576150
commit 119bd3a41e

View File

@ -236,7 +236,8 @@ void HuaweiCanClass::updateSettings(uint8_t huawei_miso, uint8_t huawei_mosi, ui
_mode = HUAWEI_MODE_AUTO_INT; _mode = HUAWEI_MODE_AUTO_INT;
} }
xTaskCreate(HuaweiCanCommunicationTask,"HUAWEI_CAN_0",2000,NULL,0,&_HuaweiCanCommunicationTaskHdl); xTaskCreate(HuaweiCanCommunicationTask, "HUAWEI_CAN_0", 2048/*stack size*/,
NULL/*params*/, 0/*prio*/, &_HuaweiCanCommunicationTaskHdl);
MessageOutput.println("[HuaweiCanClass::init] MCP2515 Initialized Successfully!"); MessageOutput.println("[HuaweiCanClass::init] MCP2515 Initialized Successfully!");
_initialized = true; _initialized = true;