code sanitizations

This commit is contained in:
Klaus K Wilting 2018-10-03 20:18:01 +02:00
parent 9ea27e9664
commit 219f2347da
2 changed files with 20 additions and 20 deletions

View File

@ -39,10 +39,10 @@ IDLE 1 0 ESP32 arduino scheduler
ESP32 hardware timers ESP32 hardware timers
========================== ==========================
0 Display-Refresh 0 Trigger display refresh
1 Wifi Channel Switch 1 Trigger Wifi channel switch
2 Send Cycle 2 Trigger send payload cycle
3 Housekeeping 3 Trigger housekeeping cycle
*/ */
@ -320,24 +320,24 @@ void setup() {
#if (HAS_LED != NOT_A_PIN) || defined(HAS_RGB_LED) #if (HAS_LED != NOT_A_PIN) || defined(HAS_RGB_LED)
// start led loop // start led loop
ESP_LOGI(TAG, "Starting LEDloop..."); ESP_LOGI(TAG, "Starting LEDloop...");
xTaskCreatePinnedToCore(ledLoop, /* task function */ xTaskCreatePinnedToCore(ledLoop, // task function
"ledloop", /* name of task */ "ledloop", // name of task
1024, /* stack size of task */ 1024, // stack size of task
(void *)1, /* parameter of the task */ (void *)1, // parameter of the task
3, /* priority of the task */ 3, // priority of the task
&ledLoopTask, /* task handle */ &ledLoopTask, // task handle
0); /* CPU core */ 0); // CPU core
#endif #endif
// start wifi channel rotation task // start wifi channel rotation task
ESP_LOGI(TAG, "Starting Wifi Channel rotation..."); ESP_LOGI(TAG, "Starting Wifi Channel rotation...");
xTaskCreatePinnedToCore(switchWifiChannel, /* task function */ xTaskCreatePinnedToCore(switchWifiChannel, // task function
"wifiloop", /* name of task */ "wifiloop", // name of task
2048, /* stack size of task */ 2048, // stack size of task
NULL, /* parameter of the task */ NULL, // parameter of the task
4, /* priority of the task */ 4, // priority of the task
&wifiSwitchTask, /* task handle*/ &wifiSwitchTask, // task handle
0); /* CPU core */ 0); // CPU core
} // setup() } // setup()