add basic signal led
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
j3d1 2021-07-19 22:31:30 +02:00
parent f4d1b53760
commit 006d281ad6
5 changed files with 42 additions and 10 deletions

View file

@ -116,7 +116,7 @@ SemaphoreHandle_t wifi_available_semaphore = nullptr;
}
}
extern "C" [[noreturn]] void wifi_task(void *pvParameters) {
extern "C" void wifi_task(void *pvParameters) {
(void) pvParameters;
/* Default a hostname. */
char *hostname = nullptr;
@ -353,10 +353,8 @@ extern "C" [[noreturn]] void wifi_task(void *pvParameters) {
if(wifi_ap_ssid) free(wifi_ap_ssid);
if(wifi_ap_password) free(wifi_ap_password);
xSemaphoreGive( wifi_available_semaphore);
xSemaphoreGive(wifi_available_semaphore);
while (1) {
//monitor connection here
vTaskDelay(5000);
}
//monitor loop connection here
vTaskDelete(nullptr);
}