Browse Source
Merge pull request #2494 from uwl-cpe-2025/fix/missing-include
Add missing Wire.h include to sensors
pull/2498/head
Liam Cottle
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
src/helpers/sensors/EnvironmentSensorManager.cpp
|
|
@ -1,5 +1,7 @@ |
|
|
#include "EnvironmentSensorManager.h" |
|
|
#include "EnvironmentSensorManager.h" |
|
|
|
|
|
|
|
|
|
|
|
#include <Wire.h> |
|
|
|
|
|
|
|
|
#if ENV_PIN_SDA && ENV_PIN_SCL |
|
|
#if ENV_PIN_SDA && ENV_PIN_SCL |
|
|
#define TELEM_WIRE &Wire1 // Use Wire1 as the I2C bus for Environment Sensors
|
|
|
#define TELEM_WIRE &Wire1 // Use Wire1 as the I2C bus for Environment Sensors
|
|
|
#else |
|
|
#else |
|
|
|