Mercurial > public > hwos_code
diff src/logbook.asm @ 25:f65d070a5b76
fix imperial units in logbook
author | heinrichsweikamp |
---|---|
date | Tue, 09 Jul 2013 11:33:18 +0200 |
parents | 11d4fc797f74 |
children | ec4d8503ec45 |
line wrap: on
line diff
--- a/src/logbook.asm Mon Jul 08 14:57:13 2013 +0200 +++ b/src/logbook.asm Tue Jul 09 11:33:18 2013 +0200 @@ -522,11 +522,8 @@ ;display_profile_offset4_imperial: call convert_mbar_to_feet ; convert value in lo:hi from mbar to feet PUTC ' ' - bsf ignore_digit4 - movlw d'1' - movff WREG,ignore_digits - bsf leftbind - output_16 ; full feet + bcf leftbind + output_16_3 STRCAT_TEXT_PRINT tFeets bra display_profile_offset4_common @@ -1348,11 +1345,8 @@ ;display_listdive2_imperial: call convert_mbar_to_feet ; convert value in lo:hi from mbar to feet PUTC ' ' - bsf ignore_digit4 - movlw d'1' - movff WREG,ignore_digits - bcf leftbind - output_16 ; full feet + bcf leftbind + output_16_3 STRCAT_TEXT tFeets1 bra display_listdive3