comparison src/logbook.asm @ 225:31088352ee32

BUGFIX: Show dives with >999mins divetime correctly
author heinrichsweikamp
date Sun, 01 Feb 2015 18:49:24 +0100
parents e79bc535ef9e
children ad62dff7739a
comparison
equal deleted inserted replaced
224:5a4801918be9 225:31088352ee32
534 bra display_profile_offset4_metric 534 bra display_profile_offset4_metric
535 ;display_profile_offset4_imperial: 535 ;display_profile_offset4_imperial:
536 call convert_mbar_to_feet ; convert value in lo:hi from mbar to feet 536 call convert_mbar_to_feet ; convert value in lo:hi from mbar to feet
537 PUTC ' ' 537 PUTC ' '
538 bcf leftbind 538 bcf leftbind
539 output_16_3 539 output_16_3 ; limit to 999 and display only (0-999)
540 STRCAT_TEXT_PRINT tFeets 540 STRCAT_TEXT_PRINT tFeets
541 bra display_profile_offset4_common 541 bra display_profile_offset4_common
542 542
543 display_profile_offset4_metric: 543 display_profile_offset4_metric:
544 bsf leftbind 544 bsf leftbind
1464 bra display_listdive2_metric 1464 bra display_listdive2_metric
1465 ;display_listdive2_imperial: 1465 ;display_listdive2_imperial:
1466 call convert_mbar_to_feet ; convert value in lo:hi from mbar to feet 1466 call convert_mbar_to_feet ; convert value in lo:hi from mbar to feet
1467 PUTC ' ' 1467 PUTC ' '
1468 bcf leftbind 1468 bcf leftbind
1469 output_16_3 1469 output_16_3 ; limit to 999 and display only (0-999)
1470 STRCAT_TEXT tFeets1 1470 STRCAT_TEXT tFeets1
1471 bra display_listdive3 1471 bra display_listdive3
1472 1472
1473 display_listdive2_metric: 1473 display_listdive2_metric:
1474 bsf ignore_digit5 ; no cm... 1474 bsf ignore_digit5 ; no cm...