From 2f7bf7bcbd05b6702d9a9aebb286227e9f921262 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Tue, 24 Jan 2017 18:47:09 +0100 Subject: [PATCH] [9XR-PRO] Warning fixed (ATMEL code) --- radio/src/targets/sky9x/usb/device/core/USBDDriver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/radio/src/targets/sky9x/usb/device/core/USBDDriver.c b/radio/src/targets/sky9x/usb/device/core/USBDDriver.c index 2d2da3017..6043e3449 100644 --- a/radio/src/targets/sky9x/usb/device/core/USBDDriver.c +++ b/radio/src/targets/sky9x/usb/device/core/USBDDriver.c @@ -514,8 +514,7 @@ void USBDDriver_Initialize( // Initialize interfaces array if not null if (pInterfaces != 0) { - - memset(pInterfaces, sizeof(pInterfaces), 0); + memset(pInterfaces, 0, sizeof(pInterfaces)); } }