Browse Source

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

pull/447/head
Scott Powell 11 months ago
parent
commit
b37c8017d9
  1. 6
      src/helpers/esp32/TBeamBoard.cpp
  2. 4
      src/helpers/esp32/TBeamBoard.h

6
src/helpers/esp32/TBeamBoard.cpp

@ -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

4
src/helpers/esp32/TBeamBoard.h

@ -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

Loading…
Cancel
Save