* Fix: /helpers/esp32/TBeamBoard was breaking non-TBeam builds
This commit is contained in:
@@ -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>
|
||||||
@@ -344,3 +346,5 @@ bool TBeamBoard::power_init()
|
|||||||
|
|
||||||
// }
|
// }
|
||||||
#pragma endregion
|
#pragma endregion
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user