# HG changeset patch # User heinrichsweikamp # Date 1448277398 -3600 # Node ID 61984f91174a0a1e2f9e4cf5bed1250188e5323f # Parent 9f4fa02ca0a0c27decd1fcfbff838df3a24f1b63 place total dives backup counter in eeprom 16:17 diff -r 9f4fa02ca0a0 -r 61984f91174a src/comm.asm --- a/src/comm.asm Mon Nov 16 11:04:27 2015 +0100 +++ b/src/comm.asm Mon Nov 23 12:16:38 2015 +0100 @@ -276,8 +276,8 @@ write_int_eeprom .6 write_int_eeprom .2 ; Also, delete total dive counter write_int_eeprom .3 - write_int_eeprom .15 - write_int_eeprom .16 ; And the backup counter, too + write_int_eeprom .16 + write_int_eeprom .17 ; And the backup counter, too call ext_flash_erase_logbook ; And complete logbook (!) bra comm_download_mode0 ; Done. diff -r 9f4fa02ca0a0 -r 61984f91174a src/menu_tree.asm --- a/src/menu_tree.asm Mon Nov 16 11:04:27 2015 +0100 +++ b/src/menu_tree.asm Mon Nov 23 12:16:38 2015 +0100 @@ -464,9 +464,9 @@ clrf EEADRH ; Make sure to select eeprom bank 0 clrf EEDATA read_int_eeprom .2 - write_int_eeprom .15 + write_int_eeprom .16 read_int_eeprom .3 - write_int_eeprom .16 ; Copy number of dives + write_int_eeprom .17 ; Copy number of dives clrf EEDATA write_int_eeprom .2 write_int_eeprom .3 ; Clear total dives