Add a couple more ifdef HAS_SCREEN lines

This commit is contained in:
Jonathan Bennett 2025-06-02 12:17:39 -05:00
parent 78c990d48b
commit 0f5413d113
2 changed files with 9 additions and 4 deletions

View File

@ -1,11 +1,12 @@
#include "DebugRenderer.h"
#include "configuration.h"
#if HAS_SCREEN
#include "../Screen.h"
#include "DebugRenderer.h"
#include "FSCommon.h"
#include "NodeDB.h"
#include "Throttle.h"
#include "UIRenderer.h"
#include "airtime.h"
#include "configuration.h"
#include "gps/RTC.h"
#include "graphics/ScreenFonts.h"
#include "graphics/SharedUIDisplay.h"
@ -675,3 +676,4 @@ void drawMemoryUsage(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x,
}
} // namespace DebugRenderer
} // namespace graphics
#endif

View File

@ -1,7 +1,9 @@
#include "NotificationRenderer.h"
#include "configuration.h"
#if HAS_SCREEN
#include "DisplayFormatters.h"
#include "NodeDB.h"
#include "configuration.h"
#include "NotificationRenderer.h"
#include "graphics/Screen.h"
#include "graphics/ScreenFonts.h"
#include "graphics/SharedUIDisplay.h"
@ -189,3 +191,4 @@ void NotificationRenderer::drawFrameFirmware(OLEDDisplay *display, OLEDDisplayUi
} // namespace NotificationRenderer
} // namespace graphics
#endif