diff options
| author | hathach <[email protected]> | 2013-07-04 09:45:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-07-04 09:45:20 +0700 |
| commit | c5afb9d50f3aea59dfdf016a1ae33ab511249de7 (patch) | |
| tree | 7d6e61d3c023dddc7450a1b29eaa04f933aefad5 /tinyusb/class/cdc_host.c | |
| parent | 544b48183abea8c9cec94c93bc7080bd0e4cee8e (diff) | |
change class (hid/cdc) _mounted_isr to _mounted_cb
Diffstat (limited to 'tinyusb/class/cdc_host.c')
| -rw-r--r-- | tinyusb/class/cdc_host.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/class/cdc_host.c b/tinyusb/class/cdc_host.c index e349f3b9f..3831fc243 100644 --- a/tinyusb/class/cdc_host.c +++ b/tinyusb/class/cdc_host.c @@ -194,9 +194,9 @@ tusb_error_t cdch_open_subtask(uint8_t dev_addr, tusb_descriptor_interface_t con } // FIXME mounted class flag is not set yet - if (tusbh_cdc_mounted_isr) + if (tusbh_cdc_mounted_cb) { - tusbh_cdc_mounted_isr(dev_addr); + tusbh_cdc_mounted_cb(dev_addr); } return TUSB_ERROR_NONE; |
