mirror of
https://github.com/DashyFox/StackSport.git
synced 2025-06-27 20:59:36 +00:00
EEPROM write fix
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
#define PROGRAM_BLOCKSIZE 67
|
||||
#define MAX_PROGRAM_COUNT 256
|
||||
#define MAX_SHOT_COUNT_IN_PROGRAMS \
|
||||
(PROGRAM_BLOCKSIZE-sizeof(ProgramHeader)) /sizeof(ProgramShot) //
|
||||
((PROGRAM_BLOCKSIZE-sizeof(ProgramHeader)) /sizeof(ProgramShot)-1) //
|
||||
|
||||
#define START_ADR_MACRO (START_ADR_PROGRAM + (PROGRAM_BLOCKSIZE*MAX_PROGRAM_COUNT))
|
||||
#define MACRO_BLOCKSIZE 129
|
||||
|
Reference in New Issue
Block a user