mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
adding of larger than uint8_t value in available gets truncated
This commit is contained in:
parent
3a3ea75d12
commit
37383d86b9
1 changed files with 1 additions and 1 deletions
|
@ -716,7 +716,7 @@ uint32_t usb_read(uint8_t *data, size_t len) {
|
|||
|
||||
static uint8_t usb_read_ng_buffer[64] = {0};
|
||||
static uint8_t usb_read_ng_bufoffset = 0;
|
||||
static uint8_t usb_read_ng_buflen = 0;
|
||||
static uint16_t usb_read_ng_buflen = 0;
|
||||
|
||||
bool usb_read_ng_has_buffered_data(void) {
|
||||
return usb_read_ng_buflen > 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue