summaryrefslogtreecommitdiff
path: root/examples/device/usbtmc
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-09-12 11:27:31 +0700
committerhathach <[email protected]>2025-09-12 11:27:31 +0700
commitba36df6233cd1bd09f383818f10c1ccda7b9efb4 (patch)
tree75302a42f73e3bd895ec0d8242648108e882320c /examples/device/usbtmc
parent913597707493ed7ac075d420795574bc7faa3075 (diff)
fix warnings, update docs
Diffstat (limited to 'examples/device/usbtmc')
-rw-r--r--examples/device/usbtmc/src/usbtmc_app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/usbtmc/src/usbtmc_app.c b/examples/device/usbtmc/src/usbtmc_app.c
index fb25982c7..e738f1008 100644
--- a/examples/device/usbtmc/src/usbtmc_app.c
+++ b/examples/device/usbtmc/src/usbtmc_app.c
@@ -99,7 +99,7 @@ usbtmc_response_capabilities_488_t const *
#else
usbtmc_response_capabilities_t const *
#endif
-tud_usbtmc_get_capabilities_cb()
+tud_usbtmc_get_capabilities_cb(void)
{
return &tud_usbtmc_app_capabilities;
}
@@ -161,7 +161,7 @@ bool tud_usbtmc_msg_data_cb(void *data, size_t len, bool transfer_complete)
return true;
}
-bool tud_usbtmc_msgBulkIn_complete_cb()
+bool tud_usbtmc_msgBulkIn_complete_cb(void)
{
if((buffer_tx_ix == buffer_len) || idnQuery) // done
{