mirror of
https://github.com/cecio/USBvalve.git
synced 2026-10-31 09:56:45 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c5cee8807 |
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -2,7 +2,7 @@
|
||||
#define USB_CONFIG_H
|
||||
|
||||
// Project version
|
||||
#define VERSION "USBvalve - 1.0.1"
|
||||
#define VERSION "USBvalve - 1.0.2"
|
||||
|
||||
// USB anti-detection settings
|
||||
//
|
||||
|
||||
@@ -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,
|
||||
uint8_t const* report, uint16_t len) {
|
||||
// Ignore len 0 (unplug)
|
||||
if (len == 0) return;
|
||||
|
||||
flag_hid_sent = true;
|
||||
|
||||
uint8_t const itf_protocol = tuh_hid_interface_protocol(dev_addr, instance);
|
||||
|
||||
Reference in New Issue
Block a user