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_bb_init();
|
||||
|
||||
#if USE_BAROMETER
|
||||
/* barometer */
|
||||
barometer_init();
|
||||
#endif
|
||||
|
|
Ładowanie…
Reference in New Issue