summaryrefslogtreecommitdiff
path: root/examples/device/usbtmc
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-09-12 12:41:14 +0700
committerGitHub <[email protected]>2025-09-12 12:41:14 +0700
commit2027ac246791caa9f1dc03e9727b60d90bee0f2d (patch)
tree9c0037a34a351602f7e5699c4eecb14c157fb87e /examples/device/usbtmc
parentb6b22096dd5e2f97a98cccc10ad451ffa1b2b88e (diff)
parent9f055f113c38b6fbd898231bc1636448712adf14 (diff)
Merge pull request #3245 from Dolphindalt/master
Added NUCLEO-WBA65RI evaluation board support
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
{