USE_EPD (e-ink parallel display)

This commit is contained in:
Manuel
2025-10-28 17:41:38 +01:00
parent 109fd627a4
commit f4c0ca11fc
5 changed files with 28 additions and 17 deletions

View File

@@ -513,7 +513,7 @@ void drawDynamicNodeListScreen(OLEDDisplay *display, OLEDDisplayUiState *state,
}
#endif
#ifdef USE_EINK
#if defined(USE_EINK) || defined(USE_EPD)
void drawLastHeardScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y)
{
const char *title = "Last Heard";
@@ -522,7 +522,7 @@ void drawLastHeardScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_
void drawHopSignalScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y)
{
#ifdef USE_EINK
#if defined(USE_EINK) || defined(USE_EPD)
const char *title = "Hops/Sig";
#else

View File

@@ -852,7 +852,7 @@ bool UIRenderer::haveGlyphs(const char *str)
return have;
}
#ifdef USE_EINK
#if defined(USE_EINK) || defined(USE_EPD)
/// Used on eink displays while in deep sleep
void UIRenderer::drawDeepSleepFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y)
{

View File

@@ -72,7 +72,7 @@ class UIRenderer
static void drawOEMBootScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);
#endif
#ifdef USE_EINK
#if defined(USE_EINK) || defined(USE_EPD)
/// Used on eink displays while in deep sleep
static void drawDeepSleepFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);