增加转台
This commit is contained in:
11
main.c
11
main.c
@@ -31,6 +31,8 @@
|
||||
#include <app/app_light.h>
|
||||
#include "app/app_request.h"
|
||||
#include "app/app_ultrasonic.h"
|
||||
#include "app/app_turntable.h"
|
||||
|
||||
|
||||
void testAppInit(void);
|
||||
|
||||
@@ -112,8 +114,7 @@ int main(void)
|
||||
CAN_Send_Msg(&can_handle_6,OTA_CANTxID, FLEXCAN_STANDARD_FRAME, FLEXCAN_FrameTypeData, BOOT_Arr,2, TX_MB_INDEX);//app 帧
|
||||
|
||||
printf("CAN_Send_Msg can_handle_6 OK %d\n",getCurrentTime());
|
||||
|
||||
|
||||
|
||||
//打印版本号
|
||||
printf("version: V1.75 \n");
|
||||
// 初始化框架 放在最前面,解决电机can发送信号累积不处理的问题。
|
||||
@@ -121,16 +122,16 @@ int main(void)
|
||||
testAppInit();
|
||||
paramAppInit();
|
||||
diffAppInit();
|
||||
brakeAppInit();
|
||||
// brakeAppInit();
|
||||
powerAppInit(); //电源管理
|
||||
tempAppInit(); //温度
|
||||
// tempAppInit(); //温度
|
||||
lightAppInit(); //灯光
|
||||
ethernetInterfaceInit(); //以太网先初始化
|
||||
requestAppInit();
|
||||
canInterfaceInit();
|
||||
bootInterfaceInit();
|
||||
// ultrasonicAppInit();
|
||||
|
||||
turnableInit();
|
||||
printf("All init OK ------ %d\n",getCurrentTime());
|
||||
|
||||
for (;;)
|
||||
|
||||
Reference in New Issue
Block a user