mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-03 18:56:15 +00:00
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.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user