This commit is contained in:
cfif 2026-03-30 16:23:46 +03:00
parent dd8caf4c53
commit 717d5f014f
3 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,7 @@ static _Noreturn void Mma_Thread(tMma *env) {
GpioPinSet(&env->gpios->Led.ledR1, false); GpioPinSet(&env->gpios->Led.ledR1, false);
SystemDelayMs(500); SystemDelayMs(500);
} }
} }

View File

@ -49,6 +49,7 @@ typedef struct {
osMessageQueueId_t txDataQueue_Cyclic0; osMessageQueueId_t txDataQueue_Cyclic0;
osMessageQueueId_t txDataQueue_Cyclic1; osMessageQueueId_t txDataQueue_Cyclic1;
tSensorSPI sensorSPI;
struct { struct {
osThreadId_t id; osThreadId_t id;
uint32_t stack[2048 * 1]; uint32_t stack[2048 * 1];

View File

@ -80,6 +80,7 @@ static void Mma_InitSubSystems(tMma *env) {
TaskSerialUART_StartThread(&env->TaskSerialUART); TaskSerialUART_StartThread(&env->TaskSerialUART);
SensorSpi_Init(&env->sensorSPI, env->spiPorts, &env->gpios->conns);
LoggerInfoStatic(&env->slog.logger, LOG_TASK_MAIN, "End of subsystem initialization") LoggerInfoStatic(&env->slog.logger, LOG_TASK_MAIN, "End of subsystem initialization")