diff src/gaslist.asm @ 225:31088352ee32

BUGFIX: Show dives with >999mins divetime correctly
author heinrichsweikamp
date Sun, 01 Feb 2015 18:49:24 +0100
parents e79bc535ef9e
children 653a3ab08062
line wrap: on
line diff
--- a/src/gaslist.asm	Thu Jan 29 18:18:15 2015 +0100
+++ b/src/gaslist.asm	Sun Feb 01 18:49:24 2015 +0100
@@ -247,7 +247,7 @@
         movff   PRODH,hi
 		call	convert_mbar_to_feet    ; convert value in lo:hi from mbar to feet
         bsf     leftbind
-        output_16_3
+        output_16_3                     ; limit to 999 and display only (0-999)
         STRCAT_TEXT	 tFeets				; "ft"
         return
 		
@@ -629,7 +629,7 @@
         movff   PRODH,hi
 		call	convert_mbar_to_feet    ; convert value in lo:hi from mbar to feet
         bsf     leftbind
-        output_16_3
+        output_16_3                     ; limit to 999 and display only (0-999)
         STRCAT_TEXT	 tFeets				; "ft"
         bra     gaslist_MOD_common
 gaslist_MOD_metric:
@@ -671,7 +671,7 @@
         movff   PRODH,hi
 		call	convert_mbar_to_feet    ; convert value in lo:hi from mbar to feet
         bsf     leftbind
-        output_16_3
+        output_16_3                     ; limit to 999 and display only (0-999)
         STRCAT_TEXT	 tFeets				; "ft"
         return
 gaslist_END_metric: