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)); } }