diff code_part1/OSTC_code_asm_part1/sleepmode.asm @ 213:d19445e0cb2f

BUGFIX Altimeter reset when exiting sleep mode (bug#&6).
author JeanDo
date Wed, 23 Feb 2011 00:18:41 +0100
parents 17de42ab02b6
children f0cba9cff25c
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/sleepmode.asm	Mon Feb 21 22:36:48 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/sleepmode.asm	Wed Feb 23 00:18:41 2011 +0100
@@ -169,8 +169,8 @@
 	bcf		sleepmode				; wake up!
 	bsf		show_startup_screen		;
 
-    ; Reset altimeter, so next averaging starts right over...
-	call    altimeter_reset
+    ; Restart altimeter averaging, so next averaging starts right over...
+	call    altimeter_restart
 
 	return