diff options
| author | Ha Thach <[email protected]> | 2021-12-07 19:24:41 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-07 19:24:41 +0700 |
| commit | c157837878a4ffd4547d9983693a9214f2088151 (patch) | |
| tree | d45c032efac7d2ebccb738cb224cd76c094f6be4 /examples/host/hid_controller | |
| parent | f8288be03f28ad7b944e6925f49422dfa39202c5 (diff) | |
| parent | a5251cb86bb35a2da1248e6d32106c694891b02b (diff) | |
Merge pull request #1213 from kkitayam/add_hcd_for_msp_exp432e401y
Add a HCD driver for MSP-EXP432E401Y
Diffstat (limited to 'examples/host/hid_controller')
| -rw-r--r-- | examples/host/hid_controller/.only.MCU_MSP432E4 | 0 | ||||
| -rw-r--r-- | examples/host/hid_controller/Makefile | 2 | ||||
| -rw-r--r-- | examples/host/hid_controller/src/hid_app.c | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/examples/host/hid_controller/.only.MCU_MSP432E4 b/examples/host/hid_controller/.only.MCU_MSP432E4 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/examples/host/hid_controller/.only.MCU_MSP432E4 diff --git a/examples/host/hid_controller/Makefile b/examples/host/hid_controller/Makefile index a4eaf0816..c58df562b 100644 --- a/examples/host/hid_controller/Makefile +++ b/examples/host/hid_controller/Makefile @@ -9,7 +9,7 @@ INC += \ EXAMPLE_SOURCE += \ src/hid_app.c \ src/main.c - + SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) # TODO: suppress warning caused by host stack diff --git a/examples/host/hid_controller/src/hid_app.c b/examples/host/hid_controller/src/hid_app.c index bbfea8182..582e01959 100644 --- a/examples/host/hid_controller/src/hid_app.c +++ b/examples/host/hid_controller/src/hid_app.c @@ -138,6 +138,8 @@ void hid_app_task(void) // therefore report_desc = NULL, desc_len = 0 void tuh_hid_mount_cb(uint8_t dev_addr, uint8_t instance, uint8_t const* desc_report, uint16_t desc_len) { + (void)desc_report; + (void)desc_len; uint16_t vid, pid; tuh_vid_pid_get(dev_addr, &vid, &pid); |
