| 281 | } |
| 282 | |
| 283 | void 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 | |
| 296 | enum EpdDrawError EpdiyDisplay::updateScreen(enum EpdDrawMode mode, int temperature) { |
| 297 | if (!initialized) { |
nothing calls this directly
no outgoing calls
no test coverage detected