mirror of
https://github.com/DashyFox/StackSport.git
synced 2025-06-28 13:19:41 +00:00
fix logic
This commit is contained in:
@ -37,6 +37,7 @@ typedef struct CurrentShot {
|
||||
uint8_t indexGlobal;
|
||||
uint16_t currentBallCount;
|
||||
Shot shot;
|
||||
uint16_t doneCount;
|
||||
} CurrentShot;
|
||||
|
||||
typedef struct CurrentProgram {
|
||||
@ -45,6 +46,7 @@ typedef struct CurrentProgram {
|
||||
CurrentShot currentShot;
|
||||
uint8_t currentShotIndexLocal;
|
||||
uint16_t currentBallCount;
|
||||
uint16_t doneCount;
|
||||
} CurrentProgram;
|
||||
|
||||
typedef struct CurrentMacro {
|
||||
@ -53,6 +55,7 @@ typedef struct CurrentMacro {
|
||||
CurrentProgram currentProgram;
|
||||
uint8_t currentProgramIndexLocal;
|
||||
uint16_t currentBallCount;
|
||||
uint16_t doneCount;
|
||||
} CurrentMacro;
|
||||
|
||||
//typedef struct CurrentState {
|
||||
@ -82,6 +85,7 @@ uint8_t prepareProgramm(uint8_t number);
|
||||
uint8_t prepareMacro(uint8_t number);
|
||||
|
||||
|
||||
|
||||
void startShooting(uint32_t delayTime);
|
||||
void stopShooting();
|
||||
|
||||
|
Reference in New Issue
Block a user