6 static const char *
const TAG =
"uart";
12 uint32_t start_time =
millis();
14 if (
millis() - start_time > 100) {
15 ESP_LOGE(TAG,
"Reading from UART timed out at byte %u!", this->
available());
uint32_t IRAM_ATTR HOT millis()
virtual int available()=0
void IRAM_ATTR HOT yield()
Implementation of SPI Controller mode.
bool check_read_timeout_(size_t len=1)