Mercurial > public > hwos_code
diff src/surfmode.asm @ 245:416723c8ccd8
use single-byte hardware flag (again)
author | heinrichsweikamp |
---|---|
date | Wed, 04 Mar 2015 19:01:57 +0100 |
parents | 23311219dacc |
children | 5b4ef0b9090d |
line wrap: on
line diff
--- a/src/surfmode.asm Wed Mar 04 16:26:48 2015 +0100 +++ b/src/surfmode.asm Wed Mar 04 19:01:57 2015 +0100 @@ -46,6 +46,9 @@ call speed_normal bcf no_sensor_int ; Normal pressure mode + bcf LEDg + bcf LEDr + clrf CCP1CON ; stop PWM bcf PORTC,2 ; Pull PWM output to GND call TFT_boot ; Initialize TFT (includes clear screen) @@ -98,8 +101,6 @@ bcf simulatormode_active ; Quit simulator mode (if active) bcf switch_left bcf switch_right - bcf LEDg - bcf LEDr ;---- Fade to standard surface view -------------------------------------- ; Wait 1 second