aqandu / airu-v2-fw

MIT License
1 stars 2 forks source link

[Web App]: Task Delay --> Semaphore (wifi_manager) #7

Closed tbec closed 5 years ago

tbec commented 5 years ago

Currently the wifi_manager is running in a 10ms xTaskDelay loop. I bet we can set semaphores in thewifi_manager_event_handler to handle the execution of a loop instead of this delay. Same for http_server.

tbec commented 5 years ago

Looked more closely and no polling is actually happening. It's already locked on a semaphore.