This commit is contained in:
Dasky 2021-08-23 00:31:38 +01:00 committed by GitHub
parent f043b8be38
commit 9af069ecf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,7 +312,7 @@ static void Console_Task(void) {
void send_joystick_packet(joystick_t *joystick) { void send_joystick_packet(joystick_t *joystick) {
uint8_t timeout = 255; uint8_t timeout = 255;
static joystick_report_t; static joystick_report_t r;
r = (joystick_report_t) { r = (joystick_report_t) {
# if JOYSTICK_AXES_COUNT > 0 # if JOYSTICK_AXES_COUNT > 0
.axes = .axes =