aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gos/freertos.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gos/freertos.c b/src/gos/freertos.c
index 25166f18..3fb94d25 100644
--- a/src/gos/freertos.c
+++ b/src/gos/freertos.c
@@ -50,20 +50,18 @@ void* gfxRealloc(void *ptr, size_t oldsz, size_t newsz)
void gfxSleepMilliseconds(delaytime_t ms)
{
- if(ms == TIME_IMMEDIATE) {
- taskYIELD();
- } else {
- vTaskDelay(ms);
- }
+ // Implement this
}
void gfxSleepMicroseconds(delaytime_t ms)
{
- delay_wait_us(ms);
+ // Implement this
}
portTickType MS2ST(portTickType ms)
{
+ // Verify this
+
uint64_t val;
if(configTICK_RATE_HZ == 1000) { // gain time because no test to do in most case