mirror of
https://github.com/DashyFox/StackSport.git
synced 2025-06-28 05:09:32 +00:00
prepare EEPROM and logic funcs
This commit is contained in:
@ -201,7 +201,8 @@ initcomlete = 1;
|
||||
/* Infinite loop */
|
||||
/* USER CODE BEGIN WHILE */
|
||||
|
||||
Shot testShot = GetShot(3);
|
||||
Shot testShot;
|
||||
getShot(3, &testShot);
|
||||
if(!testShot.isExist){
|
||||
testShot.countRepeatShot = 1;
|
||||
testShot.speedRollerTop = 200;
|
||||
@ -211,7 +212,7 @@ initcomlete = 1;
|
||||
testShot.rotationHorizontal = 90;
|
||||
testShot.rotationVertical = 90;
|
||||
|
||||
SaveShot(3, &testShot);
|
||||
saveShot(3, &testShot);
|
||||
}
|
||||
|
||||
while (1)
|
||||
|
Reference in New Issue
Block a user