Update examples to Swift 5

This commit is contained in:
Nick Nallick
2019-09-30 14:06:53 -06:00
parent 005183c282
commit 29bbe8505f
2 changed files with 4 additions and 4 deletions

View File

@@ -113,7 +113,7 @@ do {
while true {
var enteredKey = getKeyPress()
let enteredKey = getKeyPress()
printToScreenFrom(myself: true, characterToPrint: enteredKey)
var _ = try serialPort.writeChar(enteredKey)
}