Mercurial > public > hwos_code
diff src/adc_lightsensor.asm @ 266:6a1ac89e2098
Charge done indicator (cR and 2 Hardware)
author | heinrichsweikamp |
---|---|
date | Tue, 14 Apr 2015 16:16:14 +0200 |
parents | e1cd6848863d |
children | bddb63835035 |
line wrap: on
line diff
--- a/src/adc_lightsensor.asm Mon Mar 30 14:59:07 2015 +0200 +++ b/src/adc_lightsensor.asm Tue Apr 14 16:16:14 2015 +0200 @@ -55,8 +55,8 @@ ;cv_active: decfsz safety_stop_countdown,F return - movlw .16 - cpfslt batt_voltage+1 ; Batt Voltage more then 16*256mV (4,096V)? + movlw .15 + cpfsgt batt_voltage+1 ; Batt Voltage >= 16*256mV (4,096V)? bra charge_cc_active ; No bsf cc_active bsf cv_active