1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-13 22:28:14 +00:00

[uart] lint fix

This commit is contained in:
brambo123 2025-01-17 17:10:27 +01:00
parent b608685c60
commit 9b3981ba97
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ from esphome.const import (
CONF_LAMBDA,
PLATFORM_HOST,
KEY_CORE,
KEY_FRAMEWORK_VERSION
KEY_FRAMEWORK_VERSION,
)
from esphome.core import CORE

View File

@ -139,7 +139,7 @@ void IDFUARTComponent::setup() {
this->mark_failed();
return;
}
if (this->flow_control_pin_ != nullptr) {
err = uart_set_mode(this->uart_num_, UART_MODE_RS485_HALF_DUPLEX);
if (err != ESP_OK) {