mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-05 20:51:18 -07:00
Merge pull request #913 from 0x2b3bfa0/patch-1
Fix #912: ukbhit() false positive
This commit is contained in:
commit
bedae7768c
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ int ukbhit(void)
|
|||
error += tcsetattr(STDIN_FILENO, TCSANOW, &Otty); // reset attributes
|
||||
}
|
||||
|
||||
return ( error == 0 ? cnt : -1 );
|
||||
return cnt;
|
||||
}
|
||||
|
||||
char getch(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue