From 2aa84d9dd3636f2e9031f2205009164d382f8924 Mon Sep 17 00:00:00 2001 From: korolev Date: Tue, 18 Feb 2025 17:07:35 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B8=D0=BD=D0=B8=D1=86=D0=B8=D0=B0=D0=BB=D0=B8?= =?UTF-8?q?=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20=D0=BA=D0=B0=D0=BD=20-=20?= =?UTF-8?q?=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5=D0=B9=D1=81=D0=BE?= =?UTF-8?q?=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MainModesArbiter_InitStage.c | 1 + PeripheralInterfaces.c | 2 ++ 2 files changed, 3 insertions(+) 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();