Mercurial > public > hwos_code
comparison src/start.asm @ 561:9c54849b8d3b
Remove routine to fix corrupt dives made with v1.80
author | heinrichsweikamp |
---|---|
date | Sat, 03 Feb 2018 13:36:02 +0100 |
parents | b7eb98dbd800 |
children | 8b7ea27ea1fa |
comparison
equal
deleted
inserted
replaced
560:b7eb98dbd800 | 561:9c54849b8d3b |
---|---|
240 lfsr FSR0,oPressureAdjust | 240 lfsr FSR0,oPressureAdjust |
241 call option_reset ; Reset FSR0 option to factory default. | 241 call option_reset ; Reset FSR0 option to factory default. |
242 lfsr FSR0,oPressureAdjust | 242 lfsr FSR0,oPressureAdjust |
243 call option_save ; Save in EEPROM | 243 call option_save ; Save in EEPROM |
244 | 244 |
245 call fix_180_dives ; fix dives made with the 1.80 | |
246 | |
247 rcall backup_flash_page ; backup the first 128bytes from flash to EEPROM | 245 rcall backup_flash_page ; backup the first 128bytes from flash to EEPROM |
248 | 246 |
249 movlw d'1' ; store current version in EEPROM | 247 movlw d'1' ; store current version in EEPROM |
250 movwf EEADR ; =1 | 248 movwf EEADR ; =1 |
251 movwf EEADRH ; =1 | 249 movwf EEADRH ; =1 |