comparison code_part1/OSTC_code_asm_part1/menu_logbook.asm @ 811:88e1a4e3e05b

BUGFIX: 1st line in logbook was not displayed in rare cases (2C hardware)
author heinrichsweikamp
date Wed, 18 Mar 2015 20:27:29 +0100
parents c966ea4f8f38
children 2a0e5d884fc3
comparison
equal deleted inserted replaced
810:06e10d03ed1e 811:88e1a4e3e05b
404 call I2CREAD2 ; Minute 404 call I2CREAD2 ; Minute
405 movff SSPBUF,lo 405 movff SSPBUF,lo
406 output_99x 406 output_99x
407 407
408 logbook_divetime_common: 408 logbook_divetime_common:
409 clrf WREG
410 movff WREG,letter+.23 ; limit this line to 23 chars max (2C hardware)
409 call word_processor ; Display 1st row of details 411 call word_processor ; Display 1st row of details
410 412
411 WIN_TOP .25 413 WIN_TOP .25
412 WIN_LEFT .05 414 WIN_LEFT .05
413 lfsr FSR2,letter 415 lfsr FSR2,letter