fix(esp_modem): linux port to work with lwip-2.1.2

This commit is contained in:
David Cermak
2021-11-17 13:27:52 +01:00
parent e7ae0301ae
commit 8465b14653
9 changed files with 77 additions and 53 deletions

View File

@ -89,4 +89,9 @@ void Task::Relinquish()
usleep(0);
}
} // namespace esp_modem
void Task::Delay(uint32_t ms)
{
usleep(ms*1000);
}
} // namespace esp_modem