Skip to content

Commit

Permalink
Fixed second linux problem
Browse files Browse the repository at this point in the history
  • Loading branch information
robdobsn committed Feb 13, 2024
1 parent b0804ff commit 199c4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serial_monitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ pub async fn start(port: String, baud: u32, log: bool, log_folder: String) -> to

// // Open serial port and set to non-exclusive mode on Unix
#[cfg(unix)]
let serial_port = tokio_serial::new(&port, baud).open_native_async();
let mut serial_port = tokio_serial::new(&port, baud).open_native_async();

Check failure on line 145 in src/serial_monitor.rs

View workflow job for this annotation

GitHub Actions / Build and release for macos-latest

variable does not need to be mutable

// Handle errors in opening the serial port
let serial_port = match serial_port {
Expand Down

0 comments on commit 199c4e2

Please sign in to comment.