From 387d9ad1b18cf048e2fdee7f2a97d9d30d36e62d Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Thu, 30 Sep 2021 11:08:13 +0200 Subject: [PATCH] Fix serial port speed to 115200 bauds for the AN printer --- src/algorithms/PVT/libs/an_packet_printer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/PVT/libs/an_packet_printer.cc b/src/algorithms/PVT/libs/an_packet_printer.cc index 4c422bab0..db0536581 100644 --- a/src/algorithms/PVT/libs/an_packet_printer.cc +++ b/src/algorithms/PVT/libs/an_packet_printer.cc @@ -262,7 +262,7 @@ int An_Packet_Printer::init_serial(const std::string& serial_device) // clang-format off struct termios options{}; // clang-format on - const int64_t BAUD = B9600; // BAUD = B38400; + const int64_t BAUD = B115200; const int64_t DATABITS = CS8; const int64_t STOPBITS = 0; const int64_t PARITYON = 0;