----------------------------------------------------------
| 458 | |
| 459 | // ---------------------------------------------------------- |
| 460 | void Arduino_ST7789::drawFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color) |
| 461 | { |
| 462 | if(x>=_width || y>=_height || w<=0) return; |
| 463 | if(x+w-1>=_width) w=_width-x; |
| 464 | setAddrWindow(x, y, x+w-1, y); |
| 465 | |
| 466 | writeMulti(color,w); |
| 467 | |
| 468 | CS_IDLE; |
| 469 | SPI_END; |
| 470 | } |
| 471 | |
| 472 | // ---------------------------------------------------------- |
| 473 | void Arduino_ST7789::fillScreen(uint16_t color) |
nothing calls this directly
no outgoing calls
no test coverage detected