summaryrefslogtreecommitdiff
path: root/src/class/usbtmc/usbtmc_device.h
diff options
context:
space:
mode:
authorNathan Conrad <[email protected]>2019-09-14 18:07:12 -0400
committerNathan Conrad <[email protected]>2019-09-14 18:11:07 -0400
commit64bfec79b2d1d75b5c06be2dc2fff83ee385a720 (patch)
treed9cf0c0ded83ee06bca0cd8c73e10f754c065ff9 /src/class/usbtmc/usbtmc_device.h
parent6e00886ffbbc552cf91be73d57fe8ad0a4842d0b (diff)
Change requset type parameter back to uint8_t (fix type cast), support USB indicator pulse
Diffstat (limited to 'src/class/usbtmc/usbtmc_device.h')
-rw-r--r--src/class/usbtmc/usbtmc_device.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/class/usbtmc/usbtmc_device.h b/src/class/usbtmc/usbtmc_device.h
index 1246d11d1..09cda7c67 100644
--- a/src/class/usbtmc/usbtmc_device.h
+++ b/src/class/usbtmc/usbtmc_device.h
@@ -64,8 +64,10 @@ bool usbtmcd_app_msgBulkIn_request(uint8_t rhport, usbtmc_msg_request_dev_dep_in
bool usbtmcd_app_msgBulkIn_complete(uint8_t rhport);
+TU_ATTR_WEAK bool usbtmcd_app_indicator_pluse(uint8_t rhport, tusb_control_request_t const * msg);
+
#if (USBTMC_CFG_ENABLE_488)
-uint8_t usbtmcd_app_get_stb(uint8_t rhport, usbtmc_status_enum *rspResult);
+uint8_t usbtmcd_app_get_stb(uint8_t rhport, uint8_t *rspResult);
TU_ATTR_WEAK bool usbtmcd_app_msg_trigger(uint8_t rhport, usbtmc_msg_generic_t* msg);
//TU_ATTR_WEAK bool usbtmcd_app_go_to_local(uint8_t rhport);
#endif