Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
363 B
3
Indexable
Never
void blinkingLed( void *pvParameters __attribute__((unused)) )  // This is a Task.
{  
  //    Task1: Higher priority (initially)
  int i;

  #if defined(__ESP32__)
    esp_task_wdt_init(30, false);  // Disable the HW watchdog for 30 seconds, only for ESPRESSIF BOARDS (ESP32)
  #endif

  for (;;) // A Task shall never return or exit.
  {
    
  }
}