comparison src/logbook.asm @ 343:34e2f5bdc5a2

BUGFIX: Rotate button sensitivity with screen (OSTC 2 and cR) TODO: Fix entry time when dive was during midnight
author heinrichsweikamp
date Mon, 20 Jul 2015 12:43:42 +0200
parents e4cb495aed3d
children fec5eec4c8b7
comparison
equal deleted inserted replaced
342:7812ec7ef694 343:34e2f5bdc5a2
465 movff temp1,WREG 465 movff temp1,WREG
466 addwf PRODL,F 466 addwf PRODL,F
467 movlw .0 467 movlw .0
468 addwfc PRODH,F ; PRODH:PRODL has end-of-dive time in minutes 468 addwfc PRODH,F ; PRODH:PRODL has end-of-dive time in minutes
469 469
470 ; TODO: Fix entry time when dive was during midnight
470 LOG_POINT_TO log_total_seconds 471 LOG_POINT_TO log_total_seconds
471 call ext_flash_byte_read_plus ; Total sample time in seconds 472 call ext_flash_byte_read_plus ; Total sample time in seconds
472 movff temp1,lo 473 movff temp1,lo
473 call ext_flash_byte_read_plus ; Total sample time in seconds 474 call ext_flash_byte_read_plus ; Total sample time in seconds
474 movff temp1,hi 475 movff temp1,hi