summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-04-09 11:22:20 +0700
committerGitHub <[email protected]>2020-04-09 11:22:20 +0700
commitdefea45d449eb1fe9eccf992041b196cc58d115d (patch)
tree4eefc3ef124469595eb63fdc6dfbde9e1cae2eb4 /src/class
parent40e23672ff192b3d0ab1312987ecc94d4e0de0e7 (diff)
parent36b33ee775a02e1263f61bc4a82e58d8e8559734 (diff)
Merge branch 'master' into refactor-irqhandler
Diffstat (limited to 'src/class')
-rw-r--r--src/class/usbtmc/usbtmc_device.c2
-rw-r--r--src/class/usbtmc/usbtmc_device.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/class/usbtmc/usbtmc_device.c b/src/class/usbtmc/usbtmc_device.c
index 916422752..92d8d34ef 100644
--- a/src/class/usbtmc/usbtmc_device.c
+++ b/src/class/usbtmc/usbtmc_device.c
@@ -590,7 +590,7 @@ bool usbtmcd_control_request_cb(uint8_t rhport, tusb_control_request_t const * r
criticalEnter();
usbtmc_state.state = STATE_NAK; // USBD core has placed EP in NAK state for us
criticalLeave();
- tud_usmtmc_bulkOut_clearFeature_cb();
+ tud_usbtmc_bulkOut_clearFeature_cb();
}
else if (ep_addr == usbtmc_state.ep_bulk_in)
{
diff --git a/src/class/usbtmc/usbtmc_device.h b/src/class/usbtmc/usbtmc_device.h
index 4c52989c2..e231dd72d 100644
--- a/src/class/usbtmc/usbtmc_device.h
+++ b/src/class/usbtmc/usbtmc_device.h
@@ -69,7 +69,7 @@ void tud_usbtmc_open_cb(uint8_t interface_id);
bool tud_usbtmc_msgBulkOut_start_cb(usbtmc_msg_request_dev_dep_out const * msgHeader);
// transfer_complete does not imply that a message is complete.
bool tud_usbtmc_msg_data_cb( void *data, size_t len, bool transfer_complete);
-void tud_usmtmc_bulkOut_clearFeature_cb(void); // Notice to clear and abort the pending BULK out transfer
+void tud_usbtmc_bulkOut_clearFeature_cb(void); // Notice to clear and abort the pending BULK out transfer
bool tud_usbtmc_msgBulkIn_request_cb(usbtmc_msg_request_dev_dep_in const * request);
bool tud_usbtmc_msgBulkIn_complete_cb(void);