prepare EEPROM and logic funcs

This commit is contained in:
2024-09-08 22:20:30 +03:00
parent 962333bfec
commit 400ee6dee0
7 changed files with 241 additions and 105 deletions

View File

@ -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)