소스 검색

(fix) readme syntax

Michael Redig 2 년 전
부모
커밋
1d88c77570
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -14,7 +14,7 @@ import SwiftSerial
 let serialPort = SerialPort(path: "/dev/cu.usbmodem1234") // you'll need to find the correct device on your own, but this is what it will resemble on a mac
 try serialPort.openPort()
 
-serialPort.setSettings(
+try serialPort.setSettings(
 	baudRateSetting: .symmetrical(.baud115200),
 	minimumBytesToRead: 1)