mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-24 03:27:45 +08:00
- add remote NOT_READY/READY/PROTECT state flow and matching LED/status display - speed up TFT hardware SPI DMA flush path and larger LVGL partial refresh buffer - reduce page/menu redraw artifacts and center the PRTS status title
19 lines
328 B
C
19 lines
328 B
C
#ifndef ROBOT_DEF_H
|
|
#define ROBOT_DEF_H
|
|
|
|
typedef enum
|
|
{
|
|
NORMAL_MODE = 0,
|
|
SYS_ERROR_OCCURRED = 1,
|
|
REMOTE_NOT_CONNECTED = 2,
|
|
REMOTE_NOT_READY = 3,
|
|
REMOTE_READY = 4,
|
|
REMOTE_PROTECT = 5,
|
|
AUTO_SHOOTING_MODE = 6,
|
|
IMU_CALIBERATION_MODE = 7
|
|
} RobotMode_t;
|
|
|
|
extern volatile RobotMode_t RobotMode;
|
|
|
|
#endif
|