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:
parent
b608685c60
commit
9b3981ba97
@ -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
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user