Slightly more compact

This commit is contained in:
XANTRONIX Development 2021-02-21 19:50:52 -05:00 committed by XANTRONIX Industrial
parent 615ec140e8
commit 6ff6ae3ef7

View file

@ -24,10 +24,8 @@ int patty_bin_kiss_config(int argc,
info->flags |= PATTY_KISS_TNC_FLOW;
info->flow = PATTY_KISS_TNC_FLOW_XONXOFF;
} else if (argv[i][0] >= '0' && argv[i][0] <= '9') {
int baud = atoi(argv[i]);
info->flags |= PATTY_KISS_TNC_BAUD;
info->baud = baud;
info->baud = atoi(argv[i]);
} else {
patty_error_fmt(e, "Invalid KISS TNC device parameter '%s'",
argv[i]);