Skip to content

Commit

Permalink
fix: serial communication on Windows
Browse files Browse the repository at this point in the history
Removed the line about using RTS/CTS for serial communication. This
fixed the issue on Windows relating to hanging after command send.
  • Loading branch information
mookums committed Jan 26, 2024
1 parent 51d25ec commit 3323736
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ fn open_serial_port(port_state: tauri::State<PortState>, port_name: &str, baud_r
};

new_port.write_data_terminal_ready(true).unwrap();
new_port.set_flow_control(serialport::FlowControl::Hardware).unwrap();

// Check the Port State.
let port_guard_result = port_state.port.lock();
Expand Down

0 comments on commit 3323736

Please sign in to comment.