add rp2040 to host example build

This commit is contained in:
hathach
2021-02-26 14:05:08 +07:00
parent 0c05a02e67
commit f6b48c07fc
9 changed files with 66 additions and 21 deletions

View File

@@ -39,12 +39,10 @@
//--------------------------------------------------------------------+
// TASK API
//--------------------------------------------------------------------+
#ifndef RP2040_USB_HOST_MODE
static inline void osal_task_delay(uint32_t msec)
{
sleep_ms(msec);
sleep_ms(msec);
}
#endif
//--------------------------------------------------------------------+
// Binary Semaphore API