mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 03:00:56 +00:00
Guard eink drivers w/ MESHTASTIC_INCLUDE_NICHE_GRAPHICS
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user