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()
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
bool check_read_timeout_(size_t len=1)