DC11 serial port: 38k4
This commit is contained in:
parent
936007b2f2
commit
baa86146c5
2 changed files with 3 additions and 3 deletions
|
@ -212,12 +212,12 @@ void start_network(console *const c)
|
|||
Serial.printf("* Init TTY (on DC11), baudrate: %d bps, RX: %d, TX: %d", bitrate, TTY_SERIAL_RX, TTY_SERIAL_TX);
|
||||
Serial.println(F(""));
|
||||
|
||||
dc11_->set_serial(bitrate, TTY_SERIAL_RX, TTY_SERIAL_TX);
|
||||
dc11_->set_serial(38400 /* bitrate TODO */, TTY_SERIAL_RX, TTY_SERIAL_TX);
|
||||
#endif
|
||||
b->add_DC11(dc11_);
|
||||
|
||||
Serial.println(F("* Starting (NTP-) clock"));
|
||||
ntp_ = new ntp("188.212.113.203");
|
||||
ntp_ = new ntp("188.212.113.203"); // TODO configurable
|
||||
ntp_->begin();
|
||||
|
||||
set_clock_reference(ntp_);
|
||||
|
|
2
main.cpp
2
main.cpp
|
@ -602,7 +602,7 @@ int main(int argc, char *argv[])
|
|||
dc11 *dc11_ = new dc11(1100, b);
|
||||
if (dc11_device.has_value()) {
|
||||
DOLOG(info, false, "Configuring DC11 device for serial port on %s", dc11_device.value().c_str());
|
||||
dc11_->set_serial(115200, dc11_device.value());
|
||||
dc11_->set_serial(38400, dc11_device.value());
|
||||
}
|
||||
b->add_DC11(dc11_);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue