From ae8215586624bd90d8f06c589d6097a038165838 Mon Sep 17 00:00:00 2001 From: Christina Quast Date: Fri, 8 May 2015 16:06:33 +0200 Subject: [PATCH] USBDDriver.c: swaped args to memset --- firmware/atmel_softpack_libraries/usb/device/core/USBDDriver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }