Mercurial > public > hwos_code
diff src/adc_lightsensor.asm @ 465:025a0ce21f8b
BUGFIX: Minor layout corrections in imperial units dive screen
author | heinrichsweikamp |
---|---|
date | Fri, 18 Nov 2016 10:49:32 +0100 |
parents | 66049b6f2c0b |
children | 7f4c3b2e6bb7 |
line wrap: on
line diff
--- a/src/adc_lightsensor.asm Wed Nov 02 15:46:22 2016 +0100 +++ b/src/adc_lightsensor.asm Fri Nov 18 10:49:32 2016 +0100 @@ -541,10 +541,10 @@ rcall wait_adc movff ADRESH,analog_sw2 bcf analog_sw2_pressed - movlw .64 ; lower limit - cpfsgt ADRESH - bra sw2_pressed - movlw .192 ; upper limit +; movlw .64 ; lower limit +; cpfsgt ADRESH +; bra sw2_pressed + movlw .140 ; upper limit cpfsgt ADRESH bra get_analog_sw1 sw2_pressed: @@ -554,10 +554,10 @@ rcall wait_adc movff ADRESH,analog_sw1 bcf analog_sw1_pressed - movlw .64 ; lower limit - cpfsgt ADRESH - bra sw1_pressed - movlw .192 ; upper limit +; movlw .64 ; lower limit +; cpfsgt ADRESH +; bra sw1_pressed + movlw .140 ; upper limit cpfsgt ADRESH bra get_analog_sw_done sw1_pressed: