[i2c][barometer] i2c is only used when barometer is active, fixes issue with PA01 being used by i2c

main-solar-only
Richard Meadows 2016-02-28 16:37:28 +00:00
rodzic b303de6eff
commit bf0799e6f1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -130,10 +130,10 @@ void init(enum init_type init_t)
* ---------------------------------------------------------------------------
*/
#if USE_BAROMETER
/* i2c */
i2c_bb_init();
#if USE_BAROMETER
/* barometer */
barometer_init();
#endif