fix(radio): stack corruption and other -DUSBJ_EX=OFF issues (#4684)

This commit is contained in:
ThomasKuehne
2024-03-06 13:22:04 +10:00
committed by GitHub
parent 5f32648b21
commit 94a472ecab
3 changed files with 19 additions and 18 deletions
@@ -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;