Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Wait for MQTT subscriptions to take effect before returning (#516)
MQTTAsync_subscribe() is async. There are some places e.g. startConfigured() where we expect the subscription to be in effect right after this call. So wait for completion before returning. Fixes: #516 Signed-off-by: Corey Mutter <[email protected]>
- Loading branch information