diff options
| author | hathach <[email protected]> | 2023-03-24 14:08:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-03-24 14:08:57 +0700 |
| commit | 76dae8d8c1764e94c99effe5d3f4f9b0ec0d4c99 (patch) | |
| tree | 5d5a220a3a7d6d25f2e4b9339fb3c11d23220435 /examples/host/bare_api/src | |
| parent | 71fb6469d4997347f2014daa41839391cc070a74 (diff) | |
update host example to use new tuh mem macros
Diffstat (limited to 'examples/host/bare_api/src')
| -rw-r--r-- | examples/host/bare_api/src/tusb_config.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/host/bare_api/src/tusb_config.h b/examples/host/bare_api/src/tusb_config.h index 64be41a4e..ede9618d3 100644 --- a/examples/host/bare_api/src/tusb_config.h +++ b/examples/host/bare_api/src/tusb_config.h @@ -80,12 +80,12 @@ * - CFG_TUSB_MEM SECTION : __attribute__ (( section(".usb_ram") )) * - CFG_TUSB_MEM_ALIGN : __attribute__ ((aligned(4))) */ -#ifndef CFG_TUSB_MEM_SECTION -#define CFG_TUSB_MEM_SECTION +#ifndef CFG_TUH_MEM_SECTION +#define CFG_TUH_MEM_SECTION #endif -#ifndef CFG_TUSB_MEM_ALIGN -#define CFG_TUSB_MEM_ALIGN __attribute__ ((aligned(4))) +#ifndef CFG_TUH_MEM_ALIGN +#define CFG_TUH_MEM_ALIGN __attribute__ ((aligned(4))) #endif //-------------------------------------------------------------------- |
