make sure its initialised

This commit is contained in:
iceman1001 2023-12-14 23:43:30 +01:00
parent 4a303afecc
commit fe4c5792fc

View file

@ -698,7 +698,7 @@ uint32_t usb_read(uint8_t *data, size_t len) {
return nbBytesRcv;
}
static uint8_t usb_read_ng_buffer[64];
static uint8_t usb_read_ng_buffer[64] = {0};
static size_t usb_read_ng_bufoff = 0;
static size_t usb_read_ng_buflen = 0;