Обновление
This commit is contained in:
parent
a1a27d8a2c
commit
0fe6ae7316
|
|
@ -14,7 +14,6 @@
|
||||||
#include "PowerManagement.h"
|
#include "PowerManagement.h"
|
||||||
#include "Rtcs.h"
|
#include "Rtcs.h"
|
||||||
#include "LoggerToSerialPort.h"
|
#include "LoggerToSerialPort.h"
|
||||||
#include "ComInt.h"
|
|
||||||
#include "Indication.h"
|
#include "Indication.h"
|
||||||
#include "CommandLines.h"
|
#include "CommandLines.h"
|
||||||
#include "DeviceStorage.h"
|
#include "DeviceStorage.h"
|
||||||
|
|
@ -28,7 +27,6 @@ typedef struct {
|
||||||
tSerialPorts *serialPorts;
|
tSerialPorts *serialPorts;
|
||||||
tCanPorts *canPorts;
|
tCanPorts *canPorts;
|
||||||
tLoggerToSerialPort slog;
|
tLoggerToSerialPort slog;
|
||||||
tComInt comInt;
|
|
||||||
tStorageOnFlash *flash;
|
tStorageOnFlash *flash;
|
||||||
|
|
||||||
tRtcs *rtcs;
|
tRtcs *rtcs;
|
||||||
|
|
|
||||||
|
|
@ -40,19 +40,6 @@ static void Mma_InitSubSystems(tMma *env) {
|
||||||
|
|
||||||
Indication_Init(&env->Indication, HVAC_DEV_MODE_STARTUP);
|
Indication_Init(&env->Indication, HVAC_DEV_MODE_STARTUP);
|
||||||
|
|
||||||
|
|
||||||
ComInt_Init(
|
|
||||||
&env->comInt,
|
|
||||||
&env->serialPorts->serialPortCanIO,
|
|
||||||
&env->storage.publicVariablesTable,
|
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
&SERIAL_PORTS.cliVirtualOutIo,
|
|
||||||
&env->Indication.currentModeName
|
|
||||||
);
|
|
||||||
|
|
||||||
ComInt_StartThread(&env->comInt);
|
|
||||||
|
|
||||||
CommandLine_Init(&env->cli, &env->serialPorts->cliVirtualInIo);
|
CommandLine_Init(&env->cli, &env->serialPorts->cliVirtualInIo);
|
||||||
CommandLine_StartThread(&env->cli);
|
CommandLine_StartThread(&env->cli);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue