Mercurial > public > hwos_code
diff src/adc_lightsensor.asm @ 468:408329337b8b
minor
author | heinrichsweikamp |
---|---|
date | Fri, 25 Nov 2016 14:51:11 +0100 |
parents | 7f4c3b2e6bb7 |
children | 4fdf6886004b |
line wrap: on
line diff
--- a/src/adc_lightsensor.asm Sun Nov 20 12:54:36 2016 +0100 +++ b/src/adc_lightsensor.asm Fri Nov 25 14:51:11 2016 +0100 @@ -457,7 +457,8 @@ btfss PIR5,TMR5IF bra piezo_config0 ; Wait loop - + + bcf INTCON,GIE movff opt_cR_button_right,WREG; right button btfsc flip_screen ; 180° rotation ? movff opt_cR_button_left,WREG ; Yes, left button @@ -468,10 +469,11 @@ movff opt_cR_button_right,WREG; Yes, right button rcall piezo_config_tx - movlw .200 ; reserved + movlw .20 ; reserved rcall piezo_config_tx - movlw .200 ; reserved + movlw .20 ; reserved rcall piezo_config_tx + bsf INTCON,GIE return piezo_config_tx: ; Send one byte