diff src/i2c.inc @ 628:cd58f7fc86db

3.05 stable work
author heinrichsweikamp
date Thu, 19 Sep 2019 12:01:29 +0200
parents c40025d8e750
children 185ba2f91f59
line wrap: on
line diff
--- a/src/i2c.inc	Sun Jun 30 23:22:32 2019 +0200
+++ b/src/i2c.inc	Thu Sep 19 12:01:29 2019 +0200
@@ -9,8 +9,6 @@
 ;  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
 
@@ -24,6 +22,9 @@
  IFDEF _rx_functions
 	extern	I2C_probe_OSTC_rx				; set ostc_rx_present bit if present
 	extern	I2C_get_tankdata				; get the tank data
+ ENDIF
+
+ IFDEF _rx_update
 	extern	I2C_update_OSTC_rx				; load new firmware into RX processor
  ENDIF