Mercurial > public > hwos_code
diff src/surfmode.asm @ 485:18e047102e49
3.14 BETA release
author | heinrichsweikamp |
---|---|
date | Mon, 20 Feb 2017 15:49:38 +0100 |
parents | ad8acade5567 |
children | 5c7bee6df71c |
line wrap: on
line diff
--- a/src/surfmode.asm Mon Feb 20 12:00:58 2017 +0100 +++ b/src/surfmode.asm Mon Feb 20 15:49:38 2017 +0100 @@ -223,9 +223,12 @@ ; Update Sensors call compute_ppo2 ; compute mv_sensorX and ppo2_sensorX arrays call check_sensors ; Set enable/disable flags - btfss FLAG_ccr_mode ; In CCR mode? + btfsc FLAG_ccr_mode ; In CCR mode? + bra surfloop_loop2a1 ; Yes. + btfss FLAG_pscr_mode ; In PSCR mode? bra surfloop_loop2a ; No, skip - + +surfloop_loop2a1: movff opt_ccr_mode,WREG ; =0: Fixed SP, =1: Sensor, =2: Auto SP sublw .1 ; opt_ccr_mode = 1 (Sensor)? bnz surfloop_loop2a ; No, skip