From 614e3607a5ed57a787a276d7a3217fe1998552b2 Mon Sep 17 00:00:00 2001 From: afiebig Date: Mon, 28 Oct 2019 17:13:30 -0300 Subject: [PATCH] Error message when no option is selected is 64 char length --- src/transbank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transbank.c b/src/transbank.c index 7435ffd..a8cbaed 100644 --- a/src/transbank.c +++ b/src/transbank.c @@ -281,7 +281,7 @@ char *sale(int amount, char* ticket, bool send_messages) int wait = sp_input_waiting(port); do { - if (wait > 65) + if (wait > 64) { int readedbytes = read_bytes(port, buf, sale_message); if (readedbytes > 0)