make compile
This commit is contained in:
@@ -463,9 +463,9 @@ extension SerialPort {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public func readChar() throws -> UnicodeScalar {
|
public func readChar() throws -> UnicodeScalar {
|
||||||
let byteRead = readByte()
|
let byteRead = try readByte()
|
||||||
let character = UnicodeScalar(buffer[0])
|
let character = UnicodeScalar(byteRead)
|
||||||
return character
|
return character
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user