view src/i2c.inc @ 526:0d1cda9f2d43

BUGFIX: Skip MOD Test for CCR in Sensor modes (OSTC cR and OSTC3 only) CHANGE: Swap positions of ppO2(O2) and ppO2(Dil) in customview 10 on screen. "left = lean" and "right = rich" BUGFIX: A wrong configured gas was suggested as "Better gas" on the configured depth even if this resulted in a ppO2 high or low condition
author heinrichsweikamp
date Sat, 05 Aug 2017 16:50:28 +0200
parents f3062a611eef
children b7eb98dbd800
line wrap: on
line source

;=============================================================================
;
;   File i2c.inc
;
;
;   Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
;=============================================================================
; HISTORY
;  2012-10-24 : [mH] Creation

	extern	I2C_RX_accelerometer
	extern 	I2C_init_accelerometer
    extern  I2C_sleep_accelerometer
    extern  I2C_init_compass
    extern  I2C_init_compass_fast
    extern  I2C_sleep_compass
    extern  I2C_RX_compass
    extern  lt2942_get_voltage              ; Read battery voltage registers
    extern  lt2942_get_accumulated_charge   ; Get battery gauge registers
    extern  lt2942_init                     ; Init
    extern  lt2942_get_status               ; Get status