fix parsing serial config
Stefan Schuermans

Stefan Schuermans commited on 2011-12-11 21:38:43
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -44,7 +44,7 @@ bool SerCfg::fromStr(const std::string &str)
44 44
         !parser.uintMin(1, data))
45 45
       return false;
46 46
   }
47
-  if (!parser.fixChr('n') ||
47
+  if (!parser.fixChr(',') ||
48 48
       !parser.uintMin(1, stop) ||
49 49
       !parser.isDone())
50 50
     return false;
51 51