-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
let mut rx = serialport::new(&args.port, args.baud_rate).open_native_async()?;Error: Custom { kind: Other, error: "Invalid stop bits setting encountered" }
some software serialport doesen't support this (like esp32c3's usb software serialport)
I change that line code to this, then it's ok
let stop_bits = port.stop_bits().unwrap_or(StopBits::One);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels