The removeInverterBySerial can be called in a webserver callback method. This is maybe executed on another core which can then run in parallel to the radio loop hoymiles loop. Accessing inverters which are already removed can lead to exceptions. The Semaphore prevents that parallel execution |
||
|---|---|---|
| .. | ||
| src | ||
| library.json | ||
| README.md | ||