aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-02-01 17:39:11 +0100
committerJoel Bodenmann <joel@unormal.org>2014-02-01 17:39:11 +0100
commit124c8da3ff135e32d31a8ebb587516e504129b05 (patch)
tree59758936423d7f02cacc15541b786d8fd14ea840 /src
parent42f96a10c5eed41dcebc039e255dd8b8466a9a76 (diff)
downloaduGFX-124c8da3ff135e32d31a8ebb587516e504129b05.tar.gz
uGFX-124c8da3ff135e32d31a8ebb587516e504129b05.tar.bz2
uGFX-124c8da3ff135e32d31a8ebb587516e504129b05.zip
update
Diffstat (limited to 'src')
-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