mirror of
https://github.com/esphome/esphome.git
synced 2025-10-01 17:42:22 +01:00
[usb_uart] Disable flow control on ch34x
This commit is contained in:
committed by
Jesse Hills
parent
57f7a709cf
commit
127058e700
@@ -72,6 +72,7 @@ void USBUartTypeCH34X::enable_channels() {
|
||||
if (channel->index_ >= 2)
|
||||
cmd += 0xE;
|
||||
this->control_transfer(USB_VENDOR_DEV | usb_host::USB_DIR_OUT, cmd, value, (factor << 8) | divisor, callback);
|
||||
this->control_transfer(USB_VENDOR_DEV | usb_host::USB_DIR_OUT, cmd + 3, 0x80, 0, callback);
|
||||
}
|
||||
USBUartTypeCdcAcm::enable_channels();
|
||||
}
|
||||
|
Reference in New Issue
Block a user