Increased logging in verbose mode
This commit is contained in:
parent
764746cc4c
commit
01a6fc1cd8
1
KISS.c
1
KISS.c
|
@ -28,6 +28,7 @@ void kiss_frame_received(int frame_len) {
|
|||
cleanup();
|
||||
exit(1);
|
||||
}
|
||||
if (verbose && !daemonize) printf("Got %d bytes from TNC, wrote %d bytes to interface\r\n", frame_len, written);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -181,7 +181,8 @@ void read_loop(void) {
|
|||
}
|
||||
}
|
||||
|
||||
kiss_write_frame(attached_tnc, if_buffer, if_len);
|
||||
int tnc_written = kiss_write_frame(attached_tnc, if_buffer, if_len);
|
||||
if (verbose && !daemonize) printf("Got %d bytes from interface, wrote %d bytes to TNC\r\n", if_len, tnc_written);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue