fix(radio): stack corruption and other -DUSBJ_EX=OFF issues (#4684)
This commit is contained in:
@@ -200,7 +200,7 @@ extern int16_t channelOutputs[MAX_OUTPUT_CHANNELS];
|
||||
void usbJoystickUpdate()
|
||||
{
|
||||
#if !defined(USBJ_EX)
|
||||
static uint8_t HID_Buffer[0/*HID_IN_PACKET*/];
|
||||
static uint8_t HID_Buffer[HID_IN_PACKET];
|
||||
|
||||
//buttons
|
||||
HID_Buffer[0] = 0;
|
||||
|
||||
Reference in New Issue
Block a user