Skip to content

Commit

Permalink
Merge pull request #40 from TransbankDevelopers/bug/fix-sale-no-message
Browse files Browse the repository at this point in the history
Bug when no option is selected on sale
  • Loading branch information
Alfredo Fiebig authored Oct 28, 2019
2 parents 15534e0 + 614e360 commit e9a577e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transbank.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e9a577e

Please sign in to comment.