diff options
| author | Ha Thach <[email protected]> | 2023-03-24 14:41:01 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-24 14:41:01 +0700 |
| commit | ad7bacbfd8176a3b70d588e73092202b36b13970 (patch) | |
| tree | 5d5a220a3a7d6d25f2e4b9339fb3c11d23220435 /examples/host/hid_controller/src | |
| parent | 7440782afb8841332005000aa72241300ddccd53 (diff) | |
| parent | 76dae8d8c1764e94c99effe5d3f4f9b0ec0d4c99 (diff) | |
Merge pull request #1978 from hathach/fix-align-host
separate CFG_TUSB_MEM_SECTION/ALIGN to host and device specific macros
Diffstat (limited to 'examples/host/hid_controller/src')
| -rw-r--r-- | examples/host/hid_controller/src/tusb_config.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/host/hid_controller/src/tusb_config.h b/examples/host/hid_controller/src/tusb_config.h index f5ae2fd6f..d37fc02d2 100644 --- a/examples/host/hid_controller/src/tusb_config.h +++ b/examples/host/hid_controller/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 //-------------------------------------------------------------------- |
