Make more things public...

This commit is contained in:
Piv
2020-07-09 20:20:59 +09:30
parent 86809dbfc0
commit f9162d07ca
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ public class SwiftRPLidar {
private var motorRunning = false
init(onPort serialPort: LidarSerial) throws {
public init(onPort serialPort: LidarSerial) throws {
self.serialPort = serialPort
try connect()
try startMotor()