You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix OLED definitions for supported targets
Fix Ghost TX and TX Lite includes
* Fixed missed references to the old OLED defines
Added define macros to the XBMStrings
Moved includes into the header file
* Reverted OLED includes to the implementation file
Copy file name to clipboardExpand all lines: src/lib/OLED/OLED.cpp
+27-29Lines changed: 27 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -14,40 +14,42 @@
14
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
*/
16
16
17
-
#ifdef HAS_OLED// This code will not be used if the hardware does not have a OLED display. Maybe a better way to blacklist it in platformio.ini?
17
+
#if defined(USE_OLED_SPI) || defined(USE_OLED_SPI_SMALL) || defined(USE_OLED_I2C)// This code will not be used if the hardware does not have a OLED display. Maybe a better way to blacklist it in platformio.ini?
18
18
19
19
// Default header files for Express LRS
20
20
#include"targets.h"
21
-
// OLED specific header files
21
+
// OLED specific header files.
22
22
#include"OLED.h"
23
23
#include<U8g2lib.h>// Needed for the OLED drivers, this is a arduino package. It is maintained by platformIO
24
-
#include"XBMStrings.h"// Contains all the express logos and animation for UI
24
+
#include"XBMStrings.h"// Contains all the ELRS logos and animations for the UI
0 commit comments