Update examples to Swift 5
This commit is contained in:
@@ -113,7 +113,7 @@ do {
|
||||
|
||||
|
||||
while true {
|
||||
var enteredKey = getKeyPress()
|
||||
let enteredKey = getKeyPress()
|
||||
printToScreenFrom(myself: true, characterToPrint: enteredKey)
|
||||
var _ = try serialPort.writeChar(enteredKey)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user