This commit is contained in:
Jaro
2021-08-29 23:11:18 +02:00
parent 35bab564b1
commit 592f16e5da

View File

@@ -210,7 +210,7 @@ int main(int argc, char* argv[])
for (;;) {
line = serial.readStringUntil("\r\n");
if (line.rfind("[OK]",0) == 0)
cout << line;
cout << line << endl;
}
} catch (...) {
@@ -218,7 +218,7 @@ int main(int argc, char* argv[])
serial.writeString("rb\r\n");
boost::this_thread::sleep(posix_time::milliseconds(100));
serial.readChar(1);
//serial.readChar(1);
//serial.readChar(1);
modem.setSerialPort(&serial);