This commit is contained in:
Wolfgang Hottgenroth 2020-09-03 16:09:51 +02:00
parent 5b6a9fa1ad
commit 4a02773d6d
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -447,7 +447,7 @@ int main(int argc, char *argv[]) {
}
infolog"opening device\n");
infolog("opening device\n");
int fd = openSerial(DEFAULT_SERIAL_DEVICE, 2400);
if (fd == -1) {
errlog("unable to open device, fatal error\n");
@ -468,7 +468,7 @@ int main(int argc, char *argv[]) {
fread(&addr, 1, 1, stdin);
}
if ((cmd == 0) && (addr == 0)) {
errlog(stderr, "termination requested\n");
errlog("termination requested\n");
break;
}