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 4 weeks ago
committed by GitHub
parent
commit
0800f8d677
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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