Начало
This commit is contained in:
parent
9db1cec7f1
commit
00be00c155
|
|
@ -61,7 +61,7 @@ static void Mma_InitSubSystems(tMma *env) {
|
||||||
|
|
||||||
|
|
||||||
TaskSerialUART_Init(&env->TaskSerialUART,
|
TaskSerialUART_Init(&env->TaskSerialUART,
|
||||||
0,
|
1,
|
||||||
&env->serialPorts->Rs232_IO,
|
&env->serialPorts->Rs232_IO,
|
||||||
&env->canPorts->Can1_IO
|
&env->canPorts->Can1_IO
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,6 @@
|
||||||
void InitPeripheralInterfaces() {
|
void InitPeripheralInterfaces() {
|
||||||
Gpios_Init();
|
Gpios_Init();
|
||||||
SerialPorts_Init(&GPIOS.comIntDir);
|
SerialPorts_Init(&GPIOS.comIntDir);
|
||||||
|
CanPorts_Init();
|
||||||
Rtcs_Init();
|
Rtcs_Init();
|
||||||
}
|
}
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
#include "Gpios.h"
|
#include "Gpios.h"
|
||||||
#include "SerialPorts.h"
|
#include "SerialPorts.h"
|
||||||
|
#include "CanPorts.h"
|
||||||
#include "Rtcs.h"
|
#include "Rtcs.h"
|
||||||
|
|
||||||
void InitPeripheralInterfaces();
|
void InitPeripheralInterfaces();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue