yincheng.zhong
2023-05-27 a5e16e925923fa444276ca51f0e7c0cbbe07a96c
Src/application/global_param.h
@@ -3,7 +3,7 @@
#include "main.h"
#define COM_MAP_SIZE      512      //MAP表的最大空间
#define COM_MAP_SIZE      150      //MAP表的最大空间
#define   DEFAULT_DISTANCE   1000      //初始测距距离为10米
#define DEFAULT_DEV_ID      5555      //默认设备ID是5555
@@ -40,11 +40,14 @@
#define    POWER                 0x1B
#define      IMU_THRES                  0x1C
#define   NOMOVESLEEP_TIME    0x1D
#define   MOTOR_ENABLE        0x1E
#define   IMU_ENABLE          0x1F
#define     NOMOVESLEEP_TIME    0x1D
#define     MOTOR_ENABLE        0x1E
#define     IMU_ENABLE          0x1F
#define    REMOTEPARA_STATE     0x20
#define    MOTOR_ONTIME             0x21
#define    ACTIVE_INDEX                 0x22
#define MOTOR_ONTIME 500
#define MOTOR_OFFTIME 500
#define    CNT_RESTART                  0x30
#define    CNT_REBOOT                  0x31
@@ -54,11 +57,11 @@
/*------------END Map Definition-------------------*/
extern uint16_t g_com_map[COM_MAP_SIZE];
extern uint16_t g_com_map[COM_MAP_SIZE],g_com_map2[COM_MAP_SIZE];
extern uint16_t rtag_com_map[30];
extern uint32_t save_com_map_to_flash(void);
extern void parameter_init(void);
void EnterUWBUpdateMode(void);
#endif