Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlo committed Aug 15, 2014
1 parent b2325ec commit 720a1eb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/connectors/windows/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,13 @@ static int serial_read_callback(int id)
ret = -1;
}
}
else
{
remaining = 0;
}
}
else

if(!remaining)
{
if(serials[id].data[0] == BYTE_SPOOF_DATA)
{
Expand Down

0 comments on commit 720a1eb

Please sign in to comment.