Обновление
This commit is contained in:
parent
a1a27d8a2c
commit
0fe6ae7316
|
|
@ -14,7 +14,6 @@
|
|||
#include "PowerManagement.h"
|
||||
#include "Rtcs.h"
|
||||
#include "LoggerToSerialPort.h"
|
||||
#include "ComInt.h"
|
||||
#include "Indication.h"
|
||||
#include "CommandLines.h"
|
||||
#include "DeviceStorage.h"
|
||||
|
|
@ -28,7 +27,6 @@ typedef struct {
|
|||
tSerialPorts *serialPorts;
|
||||
tCanPorts *canPorts;
|
||||
tLoggerToSerialPort slog;
|
||||
tComInt comInt;
|
||||
tStorageOnFlash *flash;
|
||||
|
||||
tRtcs *rtcs;
|
||||
|
|
|
|||
|
|
@ -40,19 +40,6 @@ static void Mma_InitSubSystems(tMma *env) {
|
|||
|
||||
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_StartThread(&env->cli);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue