diff --git a/common_arm/usb_cdc.c b/common_arm/usb_cdc.c index 125c38115..3f3db2a5a 100644 --- a/common_arm/usb_cdc.c +++ b/common_arm/usb_cdc.c @@ -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;