VSChina / ESP32_AzureIoT_Arduino

The library for ESP32 Azure IoT for Arduino
MIT License
37 stars 43 forks source link

Bug fix in reset procedure. #9

Closed anthrene closed 6 years ago

anthrene commented 6 years ago

This is the pull request to fix #5 issue.

I Insert platform_deinit() call in Esp32MQTTClient_Close func. As long as Esp32MQTTClient_Init func and Esp32MQTTClient_Close func are called proper manner, this edit works. And ofcourse works when CheckConnection func is called for reset use.