From 124c8da3ff135e32d31a8ebb587516e504129b05 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 1 Feb 2014 17:39:11 +0100 Subject: update --- src/gos/freertos.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src') 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 -- cgit v1.2.3