diff code_part1/OSTC_code_asm_part1/menu_logbook.asm @ 42:da553e5c7a90

1.63 in work
author heinrichsweikamp
date Sun, 20 Jun 2010 22:11:28 +0200
parents 3ab1188651af
children 475a9e536d77
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_logbook.asm	Sun Jun 20 17:16:32 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu_logbook.asm	Sun Jun 20 22:11:28 2010 +0200
@@ -546,6 +546,9 @@
 	movff		profile_temp+0,profile_temp2+0
 	movff		profile_temp+1,profile_temp2+1		; 16Bit x-scaler
 	incf		profile_temp2+1,F					
+	tstfsz		profile_temp2+0						; Must not be Zero
+	bra			profile_display_loop2				; Not Zero!
+	incf		profile_temp2+0,F					; Zero, Increase!
 
 profile_display_loop2:
 	rcall		profile_view_get_depth		; reads depth, ignores temp and profile data	-> hi, lo