Обновление
This commit is contained in:
parent
f6f443e4ac
commit
4ad16dd53a
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include "MainModesArbiter_Private.h"
|
||||
#include "InternalFlashPage.h"
|
||||
#include "StatusData.h"
|
||||
//#include "FirmwareMetadataSection.h"
|
||||
|
||||
#define LOGGER &env->slog.logger
|
||||
|
|
@ -55,6 +56,8 @@ static void Mma_InitSubSystems(tMma *env) {
|
|||
bool result = DeviceStorage_Init(&env->storage, false, &env->flash->interface_calib, &env->flash->interface_param,
|
||||
&env->slog.logger);
|
||||
|
||||
LoadFromStorageToStatusData(&env->storage, &statusData.ecu);
|
||||
|
||||
// Включение 5V (0 - ВКЛ)
|
||||
GpioPinSet(&env->gpios->power.SW5V_EN, false);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue