mirror of https://github.com/esphome/esphome.git
Lint
This commit is contained in:
parent
6a75b4bb52
commit
1414c9aad4
|
@ -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
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue