diff --git a/MainModesArbiter_InitStage.c b/MainModesArbiter_InitStage.c index 57b7a23..ac089ea 100644 --- a/MainModesArbiter_InitStage.c +++ b/MainModesArbiter_InitStage.c @@ -357,6 +357,7 @@ static void Mma_InitAndRunIndication(tMma *env) { void Mma_InitStage(tMma *env) { + Mma_InitSubSystems(env); Mma_InitPower(env); // Mma_InitFs(env); @@ -364,9 +365,9 @@ void Mma_InitStage(tMma *env) { Mma_InitAndRunIndication(env); // Mma_SetMode(env, DEVICE_MODE_STARTUP); - Mma_InitPeripheralDevices(env); - Mma_StartupDevices(env); - Mma_InitSubSystems(env); +// Mma_InitPeripheralDevices(env); +// Mma_StartupDevices(env); + Mma_RunSubThreads(env); // Mma_SetMode(env, DEVICE_MODE_TESTING);