Browse Source

Add missing Wire.h include for sensors

This slipped through in PR #2327 and I noticed because the TechoBoard.h
for my variant doesn't include the Wire header, so the source file
in question does not coincidentally obtain a copy.
pull/2494/head
Josiah VanderZee 4 weeks ago
parent
commit
4b6b8abe7a
No known key found for this signature in database GPG Key ID: C7BB8573A4ABC4B9
  1. 2
      src/helpers/sensors/EnvironmentSensorManager.cpp

2
src/helpers/sensors/EnvironmentSensorManager.cpp

@ -1,5 +1,7 @@
#include "EnvironmentSensorManager.h"
#include <Wire.h>
#if ENV_PIN_SDA && ENV_PIN_SCL
#define TELEM_WIRE &Wire1 // Use Wire1 as the I2C bus for Environment Sensors
#else

Loading…
Cancel
Save