title: RTOS vTasDelayUntil doesn't work
body: <p>I'm using ESP-IDF via PlatformIO in Visual Studio Code with a TTGO module and want to use the vTaskDelayUntil() function to have an unblocking delay.
  Unfortunately when using it, nothing happens in that task.</p>
  
  <p>#define INCLUDE_vTaskDelayUntil 1 is already set in the config.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>void blink_task(void *pvParameter)
  {
    TickType_t xLastWakeTime;
    const TickType_t DelayLED = 250/portTICK_PERIOD_MS;
    xLastWakeTime = xTaskGetTickCount();
  
    bool LEDstatus = false;
  
    gpio_pad_select_gpio(BLINK_GPIO);
    gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT);
  
    for(;;){
      vTaskDelayUntil( &amp;xLastWakeTime, DelayLED);
      if (LEDstatus == false)
      {
          gpio_set_level(BLINK_GPIO, 0);
          LEDstatus = true;
      }
      else
      {
          gpio_set_level(BLINK_GPIO, 1);
          LEDstatus = false;
      }       
    }
  }
  
  
  extern "C" int app_main(void)
  {
      xTaskCreatePinnedToCore(&amp;blink_task, "blink_task", configMINIMAL_STACK_SIZE, NULL, 5, NULL, 0);
  
      return 0;
  }
  </code></pre>
  
  <p>vTaskDelay() works perfectly fine but has massive lags when I add another Task. That's why I wanted to use vTaskDelayUntil.</p>
  
  <p>Does anyone have an idea what went wrong here?</p>
  
  <p>Thank you very much in advance.</p>
  
  <p>Best regards,</p>
  
  <p>Martin</p>