This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to MQTT client example: correct if() check. (#1115)
Another schoolboy error, this time in the MQTT client example: the if() check around uMqttClientSubscribe() was wrong; it just happened to work sometimes because the return value (the QOS of the subscription) can be 0, but it can also be 1 or 2. This is now fixed.
- Loading branch information