diff src/start.asm @ 200:dcd513840c6c

cleanup
author heinrichsweikamp
date Wed, 12 Nov 2014 19:33:15 +0100
parents 669b5d00706d
children 93085f540746
line wrap: on
line diff
--- a/src/start.asm	Tue Nov 11 16:55:39 2014 +0100
+++ b/src/start.asm	Wed Nov 12 19:33:15 2014 +0100
@@ -258,7 +258,7 @@
 	bsf		tft_is_dimming	; TFT is dimming up (soon), ignore ambient sensor!
 
     call    lt2942_get_status       ; Check for gauge IC
-    btfsc   c3_hardware             ; C3 hardware?
+    btfsc   cr_hardware             ; cR hardware?
     call    lt2942_init             ; Yes, init battery gauge IC
 
 	; Select high altitude (Fly) mode?
@@ -272,9 +272,9 @@
 	btfss	neg_flag				; Result negative (Ambient>880mbar)?
 	bsf		high_altitude_mode		; No, Set Flag!
 
-    btfss   c3_hardware
+    btfss   cr_hardware
     bsf     TRISB,3
-    btfss   c3_hardware
+    btfss   cr_hardware
     bsf     TRISG,0
 	call	ext_flash_disable_protection	; Disable write protection for external flash