Обновление
This commit is contained in:
parent
d7999dd413
commit
b3698a506a
|
|
@ -28,6 +28,7 @@
|
|||
#include "Model_Task.h"
|
||||
#include "Model_actuator.h"
|
||||
#include "CanUds.h"
|
||||
#include "DiagnosticTask.h"
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
|
@ -67,6 +68,8 @@ typedef struct {
|
|||
|
||||
tModelTask ModelTask;
|
||||
|
||||
tDiagnostic Diagnostic;
|
||||
|
||||
struct {
|
||||
osThreadId_t id;
|
||||
uint32_t stack[1024 * 1];
|
||||
|
|
|
|||
|
|
@ -48,6 +48,9 @@ static void Mma_InitSubSystems(tMma *env) {
|
|||
CommandLine_Init(&env->cli, &env->serialPorts->SerialPortLog_IO, &env->serialPorts->cliVirtualPortOut_Io);
|
||||
CommandLine_StartThread(&env->cli);
|
||||
|
||||
|
||||
Diagnostic_Init(&env->Diagnostic, &env->slog.logger);
|
||||
|
||||
CanSerialPortFrameXcpInit(
|
||||
&env->CanSerialPortFrameXCP,
|
||||
&env->canPorts->Can0_IO,
|
||||
|
|
@ -68,6 +71,7 @@ static void Mma_InitSubSystems(tMma *env) {
|
|||
|
||||
CanUds_Init(
|
||||
&env->canUds,
|
||||
&env->Diagnostic,
|
||||
&env->canPorts->Can0_IO,
|
||||
&env->storage,
|
||||
&env->slog.logger);
|
||||
|
|
|
|||
Loading…
Reference in New Issue