File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Software/Arduino code/OpenAstroTracker Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- #define VERSION "V1.8.36 "
1
+ #define VERSION "V1.8.37 "
Original file line number Diff line number Diff line change 43
43
44
44
// EPROM constants
45
45
#define EEPROM_MAGIC_MASK 0xFE00 // If these bits are set to 0xBE00, something has been written to the EEPROM
46
- #define EEPROM_MAGIC_EXTENDED_MASK 0xFE00 // If these bits are set to 0xBF00, an extended value has been written to the EEPROM
46
+ #define EEPROM_MAGIC_EXTENDED_MASK 0xFF00 // If these bits are set to 0xBF00, an extended value has been written to the EEPROM
47
47
#define EEPROM_MAGIC_MARKER 0xBE00
48
48
#define EEPROM_MAGIC_EXTENDED_MARKER 0xBF00
49
49
@@ -186,8 +186,10 @@ void Mount::startTimerInterrupts()
186
186
// ///////////////////////////////
187
187
void Mount::clearConfiguration ()
188
188
{
189
- EPROMStore::update (4 , 0 );
190
- EPROMStore::update (5 , 0 );
189
+ EPROMStore::update (5 , 0 ); // CLear the magic marker
190
+ EPROMStore::update (4 , 0 ); // Clear the flags
191
+ EPROMStore::update (21 , 0 ); // Clear the extendede flags
192
+ EPROMStore::update (22 , 0 );
191
193
}
192
194
193
195
// ///////////////////////////////
You can’t perform that action at this time.
0 commit comments