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

Cette révision appartient à :
Scott Powell
2025-06-25 14:04:29 +10:00
Parent 213f01cd40
révision b37c8017d9
2 fichiers modifiés avec 9 ajouts et 1 suppressions
+5 -1
Voir le fichier
@@ -1,3 +1,5 @@
#if defined(TBEAM_SUPREME_SX1262) || defined(TBEAM_SX1262) || defined(TBEAM_SX1276)
#include <Arduino.h> #include <Arduino.h>
#include "TBeamBoard.h" #include "TBeamBoard.h"
//#include <RadioLib.h> //#include <RadioLib.h>
@@ -343,4 +345,6 @@ bool TBeamBoard::power_init()
// } // }
#pragma endregion #pragma endregion
#endif
+4
Voir le fichier
@@ -1,5 +1,7 @@
#pragma once #pragma once
#if defined(TBEAM_SUPREME_SX1262) || defined(TBEAM_SX1262) || defined(TBEAM_SX1276)
#include <Wire.h> #include <Wire.h>
#include <Arduino.h> #include <Arduino.h>
#include "XPowersLib.h" #include "XPowersLib.h"
@@ -162,3 +164,5 @@ public:
return "LilyGo T-Beam"; return "LilyGo T-Beam";
} }
}; };
#endif