diff src/divemode.asm @ 564:54346c651b6a

bring digital S8 HUD back to life...
author heinrichsweikamp
date Mon, 05 Feb 2018 17:59:55 +0100
parents b7eb98dbd800
children b455b31ce022
line wrap: on
line diff
--- a/src/divemode.asm	Sat Feb 03 17:02:23 2018 +0100
+++ b/src/divemode.asm	Mon Feb 05 17:59:55 2018 +0100
@@ -504,12 +504,12 @@
 	global	calc_deko_divemode_sensor
 calc_deko_divemode_sensor:
 	; sensor acquisition code
-	btfss   s8_digital							; check if we have digital interface to the sensors
+	btfss   s8_digital				; check if we have digital interface to the sensors
 	bra     calc_deko_divemode_sensor_analog	; NO  - use analog interface
-	btfss   new_s8_data_available				; YES - check if a new data frame was received
-	bra		calc_deko_divemode_sensor_common	; NO  - use old values
+	btfss   new_s8_data_available			; YES - check if a new data frame was received
+	bra	calc_deko_divemode_sensor_common	; NO  - use old values
 	call	compute_mvolts_for_all_sensors		; YES - compute mV values from digital data
-	bra		calc_deko_divemode_sensor_common
+	bra	calc_deko_divemode_sensor_common
 
 calc_deko_divemode_sensor_analog:
 	call    get_analog_inputs					; TODO: abort when OSTC model does not have analog inputs