comparison src/comm.asm @ 396:61984f91174a

place total dives backup counter in eeprom 16:17
author heinrichsweikamp
date Mon, 23 Nov 2015 12:16:38 +0100
parents 9e5abca93c32
children db25f2028074
comparison
equal deleted inserted replaced
395:9f4fa02ca0a0 396:61984f91174a
274 write_int_eeprom .4 274 write_int_eeprom .4
275 write_int_eeprom .5 275 write_int_eeprom .5
276 write_int_eeprom .6 276 write_int_eeprom .6
277 write_int_eeprom .2 ; Also, delete total dive counter 277 write_int_eeprom .2 ; Also, delete total dive counter
278 write_int_eeprom .3 278 write_int_eeprom .3
279 write_int_eeprom .15 279 write_int_eeprom .16
280 write_int_eeprom .16 ; And the backup counter, too 280 write_int_eeprom .17 ; And the backup counter, too
281 call ext_flash_erase_logbook ; And complete logbook (!) 281 call ext_flash_erase_logbook ; And complete logbook (!)
282 bra comm_download_mode0 ; Done. 282 bra comm_download_mode0 ; Done.
283 283
284 ;----------------------------------------------------------------------------- 284 ;-----------------------------------------------------------------------------
285 comm_reset_battery_gauge: ; Resets battery gauge registers 285 comm_reset_battery_gauge: ; Resets battery gauge registers