mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-23 05:24:46 -07:00
Reduce expansion control thread stack size, add comments
This commit is contained in:
@@ -367,8 +367,8 @@ static int32_t expansion_worker(void* context) {
|
||||
ExpansionWorker* expansion_worker_alloc(FuriHalSerialId serial_id) {
|
||||
ExpansionWorker* instance = malloc(sizeof(ExpansionWorker));
|
||||
|
||||
instance->thread =
|
||||
furi_thread_alloc_ex(TAG, EXPANSION_WORKER_STACK_SZIE, expansion_worker, instance);
|
||||
instance->thread = furi_thread_alloc_ex(
|
||||
TAG "Worker", EXPANSION_WORKER_STACK_SZIE, expansion_worker, instance);
|
||||
instance->rx_buf = furi_stream_buffer_alloc(EXPANSION_WORKER_BUFFER_SIZE, 1);
|
||||
instance->serial_id = serial_id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user