MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / clearArea

Method clearArea

Drivers/EPDiyDisplay/Source/EpdiyDisplay.cpp:283–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283void EpdiyDisplay::clearArea(EpdRect area) {
284 if (!initialized) {
285 LOG_E(TAG, "EPD not initialized");
286 return;
287 }
288
289 if (!powered) {
290 setPowerOn(true);
291 }
292
293 epd_clear_area(area);
294}
295
296enum EpdDrawError EpdiyDisplay::updateScreen(enum EpdDrawMode mode, int temperature) {
297 if (!initialized) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected