remotes/origin_old/ugfx_release_2.6
Joel Bodenmann 2014-02-01 17:39:11 +01:00
parent 42f96a10c5
commit 124c8da3ff
1 changed files with 4 additions and 6 deletions

View File

@ -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