Update tmk_core/protocol/lufa/lufa.c

Co-Authored-By: Ryan <fauxpark@gmail.com>
This commit is contained in:
a-chol 2020-03-22 11:09:11 +01:00 committed by a-chol
parent 38cd264dd8
commit a8a2825bd4

View file

@ -273,11 +273,6 @@ static void Console_Task(void) {
#ifdef JOYSTICK_ENABLE #ifdef JOYSTICK_ENABLE
void send_joystick_packet(joystick_t *joystick) { void send_joystick_packet(joystick_t *joystick) {
uint8_t timeout = 255; uint8_t timeout = 255;
uint8_t where = where_to_send();
if (where != OUTPUT_USB && where != OUTPUT_USB_AND_BT) {
return;
}
joystick_report_t r = { joystick_report_t r = {
# if JOYSTICK_AXES_COUNT > 0 # if JOYSTICK_AXES_COUNT > 0