analogdevicesinc / EVAL-ADICUP3029

This repo includes examples which run on the EVAL-ADICUP3029 ARM Cortex-M3 processor development platform from Analog Devices.
https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029
Other
38 stars 63 forks source link

projects:ADuCM3029_demo_cn0536: Fix init_mqtt ret #95

Closed mchindri closed 2 years ago

mchindri commented 2 years ago

Replace bool with int32_t. If FAILURE (-1) is returned for a bool value it will be 1. Then a check with ret < 0 will fail.

Signed-off-by: Mihail Chindris mihail.chindris@analog.com