This commit is contained in:
Edward Firmo 2024-05-02 15:31:58 +02:00
parent 6a75b4bb52
commit 1414c9aad4
2 changed files with 10 additions and 10 deletions

View File

@ -1243,7 +1243,7 @@ class Nextion : public NextionBase, public PollingComponent, public uart::UARTDe
* @note Ensure that the HTTP client is initialized and not NULL before calling this function
* to avoid runtime errors.
*/
void close_http_client_(auto& http_client);
void close_http_client_(auto &http_client);
#endif // USE_NEXTION_TFT_UPLOAD

View File

@ -423,7 +423,7 @@ bool Nextion::upload_tft(uint32_t baud_rate, bool exit_reparse) {
return upload_end_(true);
}
void Nextion::close_http_client_(auto& http_client) {
void Nextion::close_http_client_(auto &http_client) {
ESP_LOGD(TAG, "Close HTTP connection");
#ifdef ARDUINO
http_client.end();