mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-15 03:34:22 +08:00
missing bracket
This commit is contained in:
parent
4494c3dc61
commit
4ad9f57939
1 changed files with 2 additions and 2 deletions
|
@ -159,9 +159,9 @@ static void UsbCommandReceived(UsbCommand *c) {
|
|||
#if defined(__linux__) || (__APPLE__)
|
||||
memcpy(s, c->d.asBytes, len);
|
||||
#else
|
||||
if (flag & FLAG_ANSI)
|
||||
if (flag & FLAG_ANSI) {
|
||||
// Filter out ANSI sequences on these OS
|
||||
uint16_t si=0;
|
||||
uint16_t si = 0;
|
||||
for (uint16_t i=0; i < len; i++) {
|
||||
if ((c->d.asBytes[i] == '\x1b') && (i < len - 1) && (c->d.asBytes[i+1] >= 0x40) && (c->d.asBytes[i+1] <= 0x5F)) { // entering ANSI sequence
|
||||
i++;
|
||||
|
|
Loading…
Reference in a new issue