* Fix: /helpers/esp32/TBeamBoard was breaking non-TBeam builds

This commit is contained in:
Scott Powell
2025-06-25 14:04:29 +10:00
parent 213f01cd40
commit b37c8017d9
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
#if defined(TBEAM_SUPREME_SX1262) || defined(TBEAM_SX1262) || defined(TBEAM_SX1276)
#include <Arduino.h>
#include "TBeamBoard.h"
//#include <RadioLib.h>
@@ -343,4 +345,6 @@ bool TBeamBoard::power_init()
// }
#pragma endregion
#pragma endregion
#endif

View File

@@ -1,5 +1,7 @@
#pragma once
#if defined(TBEAM_SUPREME_SX1262) || defined(TBEAM_SX1262) || defined(TBEAM_SX1276)
#include <Wire.h>
#include <Arduino.h>
#include "XPowersLib.h"
@@ -162,3 +164,5 @@ public:
return "LilyGo T-Beam";
}
};
#endif