forked from Bodmer/TFT_eSPI
Removed delay()
This commit is contained in:
@@ -38,6 +38,13 @@
|
|||||||
#define SPI_BUSY_CHECK
|
#define SPI_BUSY_CHECK
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
namespace {
|
||||||
|
void delay(uint32_t ms)
|
||||||
|
{
|
||||||
|
vTaskDelay(ms / portTICK_PERIOD_MS);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Clipping macro for pushImage
|
// Clipping macro for pushImage
|
||||||
#define PI_CLIP \
|
#define PI_CLIP \
|
||||||
if (_vpOoB) return; \
|
if (_vpOoB) return; \
|
||||||
|
Reference in New Issue
Block a user