kopia lustrzana https://github.com/bristol-seds/pico-tracker
[i2c][barometer] i2c is only used when barometer is active, fixes issue with PA01 being used by i2c
rodzic
b303de6eff
commit
bf0799e6f1
|
@ -130,10 +130,10 @@ void init(enum init_type init_t)
|
||||||
* ---------------------------------------------------------------------------
|
* ---------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if USE_BAROMETER
|
||||||
/* i2c */
|
/* i2c */
|
||||||
i2c_bb_init();
|
i2c_bb_init();
|
||||||
|
|
||||||
#if USE_BAROMETER
|
|
||||||
/* barometer */
|
/* barometer */
|
||||||
barometer_init();
|
barometer_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
Ładowanie…
Reference in New Issue