mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 20:47:08 +03:00
catching up (trying to) wiht CSpot
This commit is contained in:
@@ -15,13 +15,13 @@ std::string generateRandomUUID();
|
||||
#include <freertos/FreeRTOS.h>
|
||||
|
||||
#define BELL_SLEEP_MS(ms) vTaskDelay(ms / portTICK_PERIOD_MS)
|
||||
#define BELL_YIELD() vTaskYield()
|
||||
#define BELL_YIELD() taskYIELD()
|
||||
|
||||
#else
|
||||
#include <unistd.h>
|
||||
|
||||
#define BELL_SLEEP_MS(ms) usleep(ms * 1000)
|
||||
#define BELL_YIELD() ()
|
||||
#define BELL_YIELD() ;
|
||||
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user