mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 20:46:52 +03:00
gpio handler is working
This commit is contained in:
@@ -502,10 +502,8 @@ static esp_err_t upload_post_handler(httpd_req_t *req)
|
||||
|
||||
if (strcmp(filepath, CONFIG_FILE) == 0) {
|
||||
printf("New config foung. Reload handler.");
|
||||
gpio_handler_deinit();
|
||||
MQTTdestroy();
|
||||
if (gpioHandler != NULL) {
|
||||
gpioHandler->destroy();
|
||||
}
|
||||
}
|
||||
|
||||
return ESP_OK;
|
||||
|
||||
Reference in New Issue
Block a user