mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-07 17:49:49 +08:00
removing unused i2c2 from main_ap
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
#include "srf08.h"
|
||||
#endif
|
||||
|
||||
#if defined USE_I2C0 || USE_I2C1 || USE_I2C2
|
||||
#if defined USE_I2C0 || USE_I2C1
|
||||
#include "i2c.h"
|
||||
#endif
|
||||
|
||||
@@ -741,10 +741,6 @@ void init_ap( void ) {
|
||||
i2c1_init();
|
||||
#endif
|
||||
|
||||
#ifdef USE_I2C2
|
||||
i2c2_init();
|
||||
#endif
|
||||
|
||||
#ifdef USE_AIRSPEED_ETS
|
||||
airspeed_ets_init();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user