-
Notifications
You must be signed in to change notification settings - Fork 8
/
tinyusb3.patch
41 lines (40 loc) · 1.77 KB
/
tinyusb3.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff --git a/.pio/libdeps/pico/Adafruit TinyUSB Library/src/arduino/Adafruit_USBH_Host.cpp b/.pio/libdeps/pico/Adafruit TinyUSB Library/src/arduino/Adafruit_USBH_Host.cpp
index d130168..df84ad1 100644
--- a/.pio/libdeps/pico/Adafruit TinyUSB Library/src/arduino/Adafruit_USBH_Host.cpp
+++ b/.pio/libdeps/pico/Adafruit TinyUSB Library/src/arduino/Adafruit_USBH_Host.cpp
@@ -144,36 +144,6 @@ void Adafruit_USBH_Host::task(uint32_t timeout_ms, bool in_isr) {
tuh_task_ext(timeout_ms, in_isr);
}
-// Invoked when device with hid interface is mounted
-// Report descriptor is also available for use.
-// tuh_hid_parse_report_descriptor() can be used to parse common/simple enough
-// descriptor. Note: if report descriptor length > CFG_TUH_ENUMERATION_BUFSIZE,
-// it will be skipped therefore report_desc = NULL, desc_len = 0
-TU_ATTR_WEAK void tuh_hid_mount_cb(uint8_t dev_addr, uint8_t instance,
- uint8_t const *desc_report,
- uint16_t desc_len) {
- (void)dev_addr;
- (void)instance;
- (void)desc_report;
- (void)desc_len;
-}
-
-// Invoked when device with hid interface is un-mounted
-TU_ATTR_WEAK void tuh_hid_umount_cb(uint8_t dev_addr, uint8_t instance) {
- (void)dev_addr;
- (void)instance;
-}
-
-// Invoked when received report from device via interrupt endpoint
-TU_ATTR_WEAK void tuh_hid_report_received_cb(uint8_t dev_addr, uint8_t instance,
- uint8_t const *report,
- uint16_t len) {
- (void)dev_addr;
- (void)instance;
- (void)report;
- (void)len;
-}
-
//--------------------------------------------------------------------+
// USB Host using MAX3421E
//--------------------------------------------------------------------+