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,6 @@
#include "./SSD16XX.h"
#ifdef MESHTASTIC_INCLUDE_NICHE_GRAPHICS
using namespace NicheGraphics::Drivers;
SSD16XX::SSD16XX(uint16_t width, uint16_t height, UpdateTypes supported, uint8_t bufferOffsetX)
@@ -222,4 +223,5 @@ void SSD16XX::finalizeUpdate()
sendCommand(0x7F); // Terminate image write without update
wait();
}
}
}
#endif // MESHTASTIC_INCLUDE_NICHE_GRAPHICS