()
| 428 | buffer.position = position; |
| 429 | } |
| 430 | end() { |
| 431 | const epd = this.#epd; |
| 432 | |
| 433 | if (this.#buffer.position) |
| 434 | epd.spi.write(new Uint8Array(this.#buffer, 0, this.#buffer.position)); |
| 435 | |
| 436 | epd.select.write(1); |
| 437 | epd.writeCommand(IT8951_TCON_LD_IMG_END); |
| 438 | |
| 439 | const area = this.#area; |
| 440 | epd.updateArea(area.x, area.y, area.width, area.height, this.#updateMode); |
| 441 | |
| 442 | delete area.continue; |
| 443 | } |
| 444 | continue() { |
| 445 | const epd = this.#epd; |
| 446 |
nothing calls this directly
no test coverage detected