Use PATTY_KISS_BUFSZ macro in src/decode.c

This commit is contained in:
XANTRONIX Development 2020-05-27 18:15:52 -04:00 committed by XANTRONIX Industrial
parent 97106300c8
commit 361059c549

View file

@ -143,7 +143,7 @@ int main(int argc, char **argv) {
usage(argc, argv, "No TNC device provided");
}
if ((tnc = patty_kiss_tnc_open(argv[1], 330)) == NULL) {
if ((tnc = patty_kiss_tnc_open(argv[1], PATTY_KISS_BUFSZ)) == NULL) {
perror("Unable to open TNC");
goto error_kiss_tnc_open;