mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-26 07:48:06 +00:00
temp fix for serialport on macos 11
This commit is contained in:
parent
15f011b21f
commit
c658680a00
2 changed files with 3 additions and 2 deletions
|
@ -12,6 +12,7 @@ hidapi = "1.2.2"
|
||||||
ihex = "1.1.2"
|
ihex = "1.1.2"
|
||||||
pids = { path = "../common/pids" }
|
pids = { path = "../common/pids" }
|
||||||
rusb = "0.5.5"
|
rusb = "0.5.5"
|
||||||
serialport = "3.3.0"
|
#serialport = "3.3.0"
|
||||||
|
serialport = { git = "https://gitlab.com/spookyvision1/serialport-rs.git", branch = "fix-usb-deprecation"}
|
||||||
tempfile = "3.2.0"
|
tempfile = "3.2.0"
|
||||||
xmas-elf = "0.7.0"
|
xmas-elf = "0.7.0"
|
|
@ -198,7 +198,7 @@ pub fn serial_term() -> color_eyre::Result<()> {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut port = serialport::open(&dongle.port_name)?;
|
let mut port = serialport::new(&dongle.port_name, 9600).open()?;
|
||||||
|
|
||||||
static CONTINUE: AtomicBool = AtomicBool::new(true);
|
static CONTINUE: AtomicBool = AtomicBool::new(true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue