Browse Source

Fix baudrate.

Paul Florence 7 months ago
parent
commit
66fdc1d83c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      robot_core/src/communication.rs

+ 1
- 1
robot_core/src/communication.rs View File

@@ -76,7 +76,7 @@ fn open_stream<T: AsRef<str>, L: Into<Option<Logger>>>(
76 76
             Err(e) => Err(e.into()),
77 77
         }
78 78
     } else if let Ok(mut serial_stream) = serialport::open(path.as_ref()) {
79
-        serial_stream.set_baud_rate(BaudRate::Baud9600)?;
79
+        serial_stream.set_baud_rate(BaudRate::Baud921600)?;
80 80
         match stream::open(serial_stream, logger, handlers, receiver) {
81 81
             Ok(_) => Ok(()),
82 82
             Err(e) => Err(e.into()),

Loading…
Cancel
Save