diff --git a/firmware/atmel_softpack_libraries/usb/device/core/USBDDriver.c b/firmware/atmel_softpack_libraries/usb/device/core/USBDDriver.c index c9cb155c..058f5634 100644 --- a/firmware/atmel_softpack_libraries/usb/device/core/USBDDriver.c +++ b/firmware/atmel_softpack_libraries/usb/device/core/USBDDriver.c @@ -457,7 +457,7 @@ void USBDDriver_Initialize( if (pInterfaces != 0) { - memset(pInterfaces, sizeof(pInterfaces), 0); + memset(pInterfaces, 0, sizeof(*pInterfaces)); } }