diff --git a/MainModesArbiter_InitStage.c b/MainModesArbiter_InitStage.c index 2f3ad8c..c1e27b9 100644 --- a/MainModesArbiter_InitStage.c +++ b/MainModesArbiter_InitStage.c @@ -197,6 +197,7 @@ void Mma_StartupAudioSubsystem(tMma *env) { static void Mma_StartupDevices(tMma *env) { LoggerInfoStatic(LOGGER, LOG_SIGN, "Запуск устройств...") Accel_StartDevice(&env->accel); + LoggerInfoStatic(LOGGER, LOG_SIGN, "Запуск устройств завершен") } diff --git a/PeripheralInterfaces.c b/PeripheralInterfaces.c index e2be3bd..29aa53e 100644 --- a/PeripheralInterfaces.c +++ b/PeripheralInterfaces.c @@ -3,6 +3,7 @@ // #include "PeripheralInterfaces.h" #include "DevRtc.h" +#include "CanSerialPorts.h" //#include "main2.h" void InitPeripheralInterfaces() { @@ -11,6 +12,7 @@ void InitPeripheralInterfaces() { SerialPorts_Init(&GPIOS.comIntDir); I2cPorts_Init(); SpiPorts_Init(&GPIOS.accel, &GPIOS.flash); + CanSerialPorts_Init(); StorageOnFlash_Init(); // mainUsb(); Rtc_Init();