1
0
mirror of https://github.com/livingcomputermuseum/UniBone.git synced 2026-01-27 20:37:36 +00:00

fix baudrate bit width

This commit is contained in:
Joerg Hoppe
2019-08-30 13:38:34 +02:00
parent e3ca35f24b
commit 30df58f42c

View File

@@ -155,7 +155,7 @@ public:
false, "Linux serial port: \"ttyS1\" or \"ttyS2\"");
parameter_unsigned_c baudrate = parameter_unsigned_c(this, "baudrate", "b", /*readonly*/
false, "", "%d", "Baudrate: 110, 300, ... 38400", 38400, 10);
false, "", "%d", "Baudrate: 110, 300, ... 38400", 16, 10);
// 40kbaud -> 25us bit polling period needed
parameter_string_c mode = parameter_string_c(this, "mode", "m", /*readonly*/false,
@@ -167,6 +167,8 @@ public:
parameter_bool_c break_enable = parameter_bool_c(this, "break", "b", /*readonly*/false,
"Enable BREAK transmission (M7856 SW4-1)");
//
// background worker function
void worker(unsigned instance) override;
void worker_rcv(void);