diff options
| author | hathach <[email protected]> | 2025-02-24 15:40:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-02-24 16:05:31 +0700 |
| commit | d132044b7587f7e846bbec6e7b897d0842a21d13 (patch) | |
| tree | f2f133795049f0f52a20127a0a147c64f0d03b18 /examples/host/cdc_msc_hid/src | |
| parent | 56e84bd1a605e3835f29e2e7fd17f65e0f3b5431 (diff) | |
add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()
change tuh_midi_rx/tx_cb() to have xferred_bytes
rename tuh_midi_get_num_rx/tx_cables() to tuh_midi_get_rx/tx_cable_count()
use default empty callback instead of weak null to be compatible with keil compiler
Diffstat (limited to 'examples/host/cdc_msc_hid/src')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/host/cdc_msc_hid/src/main.c b/examples/host/cdc_msc_hid/src/main.c index 71257c0fe..2d5df23f9 100644 --- a/examples/host/cdc_msc_hid/src/main.c +++ b/examples/host/cdc_msc_hid/src/main.c @@ -82,12 +82,12 @@ int main(void) { void tuh_mount_cb(uint8_t dev_addr) { // application set-up - printf("A device with address %d is mounted\r\n", dev_addr); + printf("A device with address %u is mounted\r\n", dev_addr); } void tuh_umount_cb(uint8_t dev_addr) { // application tear-down - printf("A device with address %d is unmounted \r\n", dev_addr); + printf("A device with address %u is unmounted \r\n", dev_addr); } |
