diff options
| author | HiFiPhile <[email protected]> | 2024-04-29 22:35:55 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-04-29 22:35:55 +0200 |
| commit | c303b5d81d3dd9d5dc9f831af704e6d40366d7cf (patch) | |
| tree | c4382224be0eea5e37ed83ec7d00f596b1430177 /src/common/tusb_mcu.h | |
| parent | bf1540af4c3a57245b946c8622454c05e7fc098e (diff) | |
Guard const addr fifo functions with TUP_MEM_CONST_ADDR.
Diffstat (limited to 'src/common/tusb_mcu.h')
| -rw-r--r-- | src/common/tusb_mcu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h index 5a567f2d5..c69bc9995 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -448,4 +448,8 @@ #define TUP_DCD_EDPT_ISO_ALLOC #endif +#if defined(TUP_USBIP_DWC2) + #define TUP_MEM_CONST_ADDR +#endif + #endif |
