diff src/adc_lightsensor.asm @ 236:e2ea74646127

configure hardware_flag byte
author heinrichsweikamp
date Wed, 25 Feb 2015 22:19:30 +0100
parents 23311219dacc
children e1cd6848863d
line wrap: on
line diff
--- a/src/adc_lightsensor.asm	Wed Feb 25 16:49:59 2015 +0100
+++ b/src/adc_lightsensor.asm	Wed Feb 25 22:19:30 2015 +0100
@@ -234,7 +234,7 @@
     btfsc   adc_running         ; ADC in use?
     return                      ; Yes, return
 
-    btfss   rechargeable
+    btfsc   ambient_sensor
     bra     get_ambient_level1  ; Normal ostc3 hardware
 
   	banksel isr_backup              ; Back to Bank0 ISR data