Mercurial > public > hwos_code
comparison src/surfmode.asm @ 530:d36f9fca10ae
2.20beta release
BUGFIX: Minor dive mode layout fixes in CCR Mode
CHANGE: Minor German language fixes
NEW: Warning for Diluent beeing out of safe ppO2 range in CCR modes
NEW: New Customview 9 in OSTC cR or OSTC3 shows mV readings after Sensor calibration
author | heinrichsweikamp |
---|---|
date | Thu, 17 Aug 2017 13:20:03 +0200 |
parents | bef07a837a60 |
children | cf68fe0c3002 |
comparison
equal
deleted
inserted
replaced
529:08d7eb26665c | 530:d36f9fca10ae |
---|---|
233 movff opt_ccr_mode,WREG ; =0: Fixed SP, =1: Sensor, =2: Auto SP | 233 movff opt_ccr_mode,WREG ; =0: Fixed SP, =1: Sensor, =2: Auto SP |
234 sublw .1 ; opt_ccr_mode = 1 (Sensor)? | 234 sublw .1 ; opt_ccr_mode = 1 (Sensor)? |
235 bnz surfloop_loop2a ; No, skip | 235 bnz surfloop_loop2a ; No, skip |
236 | 236 |
237 call TFT_surface_sensor ; ...update sensor data in surface mode | 237 call TFT_surface_sensor ; ...update sensor data in surface mode |
238 movlw .9 | |
239 cpfseq menupos3 ; in Sensor mV surface custom view? | |
240 bra surfloop_loop2a ; No | |
241 extern TFT_sensor_mV | |
242 call TFT_sensor_mV ; Yes, update mV readings (Each 1/4 second and not each second as in customview.asm) | |
238 | 243 |
239 surfloop_loop2a: | 244 surfloop_loop2a: |
240 movlw .6 | 245 movlw .6 |
241 cpfseq menupos3 ; in compass view? | 246 cpfseq menupos3 ; in compass view? |
242 bra surfloop_loop2b ; No | 247 bra surfloop_loop2b ; No |