diff src/i2c.inc @ 604:ca4556fb60b9

bump to 2.99beta, work on 3.00 stable
author heinrichsweikamp
date Thu, 22 Nov 2018 19:47:26 +0100
parents b7eb98dbd800
children b87f23fae743
line wrap: on
line diff
--- a/src/i2c.inc	Thu Oct 11 21:06:29 2018 +0200
+++ b/src/i2c.inc	Thu Nov 22 19:47:26 2018 +0100
@@ -1,6 +1,6 @@
 ;=============================================================================
 ;
-;   File i2c.inc
+;   File i2c.inc														V2.99c
 ;
 ;
 ;   Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
@@ -8,13 +8,19 @@
 ; HISTORY
 ;  2012-10-24 : [mH] Creation
 
-    extern  I2C_RX_accelerometer
-    extern  I2C_init_accelerometer
-    extern  I2C_sleep_accelerometer
-    extern  I2C_init_compass
-    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
\ No newline at end of file
+	extern	I2C_RX_accelerometer
+	extern	I2C_init_accelerometer
+	extern	I2C_sleep_accelerometer
+	extern	I2C_init_compass
+	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
+
+ IFDEF _rx_functions
+	extern	I2C_probe_OSTC_rx				; set ostc_rx_present bit if present
+	extern	I2C_get_tankdata				; get the tank data
+	extern	I2C_update_OSTC_rx				; load new firmware into RX processor
+ ENDIF