fix stopbits bytesize

This commit is contained in:
zhiqiang feng
2020-12-29 16:38:53 +08:00
parent a3d0cf998b
commit a567e10481
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ Test load sqlite database and init table`,
func test() {
logger.Info("Testing environment")
_ = utils.OpenPort(device, baudrate, bytesize, stopbits)
_ = utils.OpenPort(device, baudrate)
err := utils.InitDb(dbFile, dbInit)
if err != nil {