kopia lustrzana https://github.com/pjalocha/esp32-ogn-tracker
Do not start I2C, unless needed for pressure sensor or OLED
rodzic
b68f5ffc73
commit
8b3eea922b
|
@ -270,6 +270,11 @@ uint8_t BARO_I2C = (uint8_t)I2C_BUS;
|
||||||
#define PIN_BEEPER GPIO_NUM_17
|
#define PIN_BEEPER GPIO_NUM_17
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(WITH_OLED) && !defined(WITH_BMP180) && !defined(WITH_BMP280) && !defined(WITH_BME280)
|
||||||
|
#undef PIN_I2C_SCL
|
||||||
|
#undef PIN_I2C_SDA
|
||||||
|
#endif
|
||||||
|
|
||||||
// ======================================================================================================
|
// ======================================================================================================
|
||||||
// 48-bit unique ID of the chip
|
// 48-bit unique ID of the chip
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue