Guard eink drivers w/ MESHTASTIC_INCLUDE_NICHE_GRAPHICS

This commit is contained in:
Ben Meadors
2025-02-12 06:23:49 -06:00
parent 910efd86f0
commit 6cb3acd79f
11 changed files with 46 additions and 11 deletions

View File

@@ -1,5 +1,7 @@
#include "./EInk.h"
#ifdef MESHTASTIC_INCLUDE_NICHE_GRAPHICS
using namespace NicheGraphics::Drivers;
// Separate from EInk::begin method, as derived class constructors can probably supply these parameters as constants
@@ -64,4 +66,5 @@ void EInk::await()
runOnce();
yield();
}
}
}
#endif // MESHTASTIC_INCLUDE_NICHE_GRAPHICS