diff options
| author | HiFiPhile <[email protected]> | 2025-09-17 22:37:45 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-09-17 22:48:59 +0200 |
| commit | 369a1ff5153a472327d2847c7bc7386309486b34 (patch) | |
| tree | 7b8e6403bb1017e14fa224865eb73f4e10a3ba18 /src/class/usbtmc/usbtmc_device.h | |
| parent | d9ad09a8dce9e54cbd23062f8dec6c4fd49dc906 (diff) | |
Update weak callbacks to new syntax
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/class/usbtmc/usbtmc_device.h')
| -rw-r--r-- | src/class/usbtmc/usbtmc_device.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/class/usbtmc/usbtmc_device.h b/src/class/usbtmc/usbtmc_device.h index b85ef12b5..8238f579f 100644 --- a/src/class/usbtmc/usbtmc_device.h +++ b/src/class/usbtmc/usbtmc_device.h @@ -75,15 +75,15 @@ bool tud_usbtmc_check_clear_cb(usbtmc_get_clear_status_rsp_t *rsp); // The interrupt-IN endpoint buffer was transmitted to the host. Use // tud_usbtmc_transmit_notification_data to send another notification. -TU_ATTR_WEAK bool tud_usbtmc_notification_complete_cb(void); +bool tud_usbtmc_notification_complete_cb(void); // Indicator pulse should be 0.5 to 1.0 seconds long -TU_ATTR_WEAK bool tud_usbtmc_indicator_pulse_cb(tusb_control_request_t const * msg, uint8_t *tmcResult); +bool tud_usbtmc_indicator_pulse_cb(tusb_control_request_t const * msg, uint8_t *tmcResult); #if (CFG_TUD_USBTMC_ENABLE_488) uint8_t tud_usbtmc_get_stb_cb(uint8_t *tmcResult); -TU_ATTR_WEAK bool tud_usbtmc_msg_trigger_cb(usbtmc_msg_generic_t* msg); -//TU_ATTR_WEAK bool tud_usbtmc_app_go_to_local_cb(); +bool tud_usbtmc_msg_trigger_cb(usbtmc_msg_generic_t* msg); +//void tud_usbtmc_app_go_to_local_cb(); #endif // Called from app |
