diff src/menu_processor.asm @ 189:e79bc535ef9e

ignore un-calibrated sensors even if they become valid
author heinrichsweikamp
date Wed, 29 Oct 2014 12:53:01 +0100
parents 669b5d00706d
children e1e5876bd777
line wrap: on
line diff
--- a/src/menu_processor.asm	Mon Oct 27 11:28:48 2014 +0100
+++ b/src/menu_processor.asm	Wed Oct 29 12:53:01 2014 +0100
@@ -567,8 +567,9 @@
 
         call    aa_wordprocessor        ; Draw the line!
 
-        movlw   .0
-        movff   WREG,win_invert         ; Reset invert flag
+        banksel common
+        bcf     win_invert              ; Reset invert flag
+        banksel win_top
 
         movlw   .24                     ; Divemode menu spacing
         addwf   win_top,F