mirror of
https://github.com/DashyFox/StackSport.git
synced 2025-06-28 05:09:32 +00:00
led and rc
This commit is contained in:
@ -22,7 +22,7 @@ typedef enum ServoMap{
|
||||
SERVO_VERTICAL = 2
|
||||
}ServoMap;
|
||||
|
||||
typedef enum CurrentMode {
|
||||
typedef enum Mode {
|
||||
NoneMode, ShotMode, ProgramMode, MacroMode,
|
||||
} Mode;
|
||||
|
||||
@ -58,11 +58,6 @@ typedef struct CurrentMacro {
|
||||
uint16_t doneCount;
|
||||
} CurrentMacro;
|
||||
|
||||
//typedef struct CurrentState {
|
||||
// uint8_t isPause;
|
||||
// uint8_t isShooting;
|
||||
//} CurrentState;
|
||||
|
||||
typedef struct CurrentInfo {
|
||||
Mode mode;
|
||||
State state;
|
||||
@ -72,6 +67,8 @@ typedef struct CurrentInfo {
|
||||
uint32_t startDelay;
|
||||
} CurrentInfo;
|
||||
|
||||
extern CurrentInfo currentInfo;
|
||||
|
||||
void Robot_INIT();
|
||||
|
||||
void shotApply(CurrentShot*);
|
||||
|
Reference in New Issue
Block a user