Compare commits

..
1 Commits
Author SHA1 Message Date
cecio 4c5cee8807 1.0.2 2026-10-30 22:11:05 +01:00
11 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
#define USB_CONFIG_H #define USB_CONFIG_H
// Project version // Project version
#define VERSION "USBvalve - 1.0.1" #define VERSION "USBvalve - 1.0.2"
// USB anti-detection settings // USB anti-detection settings
// //
+3
View File
@@ -95,6 +95,9 @@ void tuh_hid_umount_cb(uint8_t dev_addr, uint8_t instance) {
void tuh_hid_report_received_cb(uint8_t dev_addr, uint8_t instance, void tuh_hid_report_received_cb(uint8_t dev_addr, uint8_t instance,
uint8_t const* report, uint16_t len) { uint8_t const* report, uint16_t len) {
// Ignore len 0 (unplug)
if (len == 0) return;
flag_hid_sent = true; flag_hid_sent = true;
uint8_t const itf_protocol = tuh_hid_interface_protocol(dev_addr, instance); uint8_t const itf_protocol = tuh_hid_interface_protocol(dev_addr, instance);