aboutsummaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorChristina Quast <chrysh.ng+git@gmail.com>2015-05-08 16:06:33 +0200
committerChristina Quast <chrysh.ng+git@gmail.com>2015-05-08 16:45:15 +0200
commitae8215586624bd90d8f06c589d6097a038165838 (patch)
treea347de863cc7c333634ed12e2c1de1019ae78000 /firmware
parentbfd7354c860af03d1bc5ff0e53399e68aca01ef5 (diff)
USBDDriver.c: swaped args to memset
Diffstat (limited to 'firmware')
-rw-r--r--firmware/atmel_softpack_libraries/usb/device/core/USBDDriver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/atmel_softpack_libraries/usb/device/core/USBDDriver.c b/firmware/atmel_softpack_libraries/usb/device/core/USBDDriver.c
index c9cb155..058f563 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));
}
}