Ignore bad scans, add documentation.
This commit is contained in:
@@ -20,7 +20,6 @@ func main() throws {
|
||||
|
||||
extension SerialPort: LidarSerial{
|
||||
public func setBaudrate(baudrate: Int) {
|
||||
// TODO: handle different baudrates. Only need this for now.
|
||||
switch baudrate{
|
||||
default:
|
||||
setSettings(receiveRate: .baud115200, transmitRate: .baud115200, minimumBytesToRead: 3, timeout: 1)
|
||||
|
||||
Reference in New Issue
Block a user