comparison src/menu_tree.asm @ 396:61984f91174a

place total dives backup counter in eeprom 16:17
author heinrichsweikamp
date Mon, 23 Nov 2015 12:16:38 +0100
parents a9e35c1327aa
children eccae727702f
comparison
equal deleted inserted replaced
395:9f4fa02ca0a0 396:61984f91174a
462 462
463 do_reset_logbook: 463 do_reset_logbook:
464 clrf EEADRH ; Make sure to select eeprom bank 0 464 clrf EEADRH ; Make sure to select eeprom bank 0
465 clrf EEDATA 465 clrf EEDATA
466 read_int_eeprom .2 466 read_int_eeprom .2
467 write_int_eeprom .15 467 write_int_eeprom .16
468 read_int_eeprom .3 468 read_int_eeprom .3
469 write_int_eeprom .16 ; Copy number of dives 469 write_int_eeprom .17 ; Copy number of dives
470 clrf EEDATA 470 clrf EEDATA
471 write_int_eeprom .2 471 write_int_eeprom .2
472 write_int_eeprom .3 ; Clear total dives 472 write_int_eeprom .3 ; Clear total dives
473 write_int_eeprom .4 473 write_int_eeprom .4
474 write_int_eeprom .5 474 write_int_eeprom .5