formatting

This commit is contained in:
JQ
2025-06-27 23:30:52 -07:00
parent e417c43c30
commit ff3e888dfd
4 changed files with 35 additions and 34 deletions

View File

@@ -1,4 +1,5 @@
#include "E213Display.h"
#include "../../MeshCore.h"
bool E213Display::begin() {
@@ -113,4 +114,3 @@ uint16_t E213Display::getTextWidth(const char* str) {
void E213Display::endFrame() {
display.update();
}

View File

@@ -1,9 +1,10 @@
#pragma once
#include "DisplayDriver.h"
#include <SPI.h>
#include <Wire.h>
#include <heltec-eink-modules.h>
#include "DisplayDriver.h"
// Display driver for E213 e-ink display
class E213Display : public DisplayDriver {
@@ -12,8 +13,7 @@ class E213Display : public DisplayDriver {
bool _isOn = false;
public:
E213Display() : DisplayDriver(250, 122) {
}
E213Display() : DisplayDriver(250, 122) {}
bool begin();
bool isOn() override { return _isOn; }

View File

@@ -1,6 +1,7 @@
#include <Arduino.h>
#include "target.h"
#include <Arduino.h>
HeltecV3Board board;
static SPIClass spi;

View File

@@ -2,10 +2,10 @@
#define RADIOLIB_STATIC_ONLY 1
#include <RadioLib.h>
#include <helpers/RadioLibWrappers.h>
#include <helpers/HeltecV3Board.h>
#include <helpers/CustomSX1262Wrapper.h>
#include <helpers/AutoDiscoverRTCClock.h>
#include <helpers/CustomSX1262Wrapper.h>
#include <helpers/HeltecV3Board.h>
#include <helpers/RadioLibWrappers.h>
#include <helpers/SensorManager.h>
#ifdef DISPLAY_CLASS
#include <helpers/ui/E213Display.h>