fix: ignore unset packets on LUFA

This commit is contained in:
Florian
2024-08-08 15:36:35 +07:00
parent ec84919fe2
commit 04b25c5a15

View File

@@ -33,7 +33,9 @@ void raw_hid_send_oryx(uint8_t *data, uint8_t length) {
return;
}
if (!send_report(RAW_EP_NAME, data, length)) {
#if !defined(PROTOCOL_LUFA)
rawhid_state.paired = false;
#endif
}
}