diff options
| author | Matthias Schär <[email protected]> | 2022-07-28 13:01:36 +0200 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-09 12:13:38 +0700 |
| commit | 5c7876d4444de25942778728d377ec77f74a75dd (patch) | |
| tree | 751f7d299d9e55ec58f4695ea5afe43df215c224 /src/common | |
| parent | 42decf28f1bf7512a4c3e7402c9daf83ee241191 (diff) | |
Fixed behavior of the PRCR register. Previous write protection will be recovered.
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h index 6f07bdd53..86d150c68 100644 --- a/src/common/tusb_compiler.h +++ b/src/common/tusb_compiler.h @@ -56,7 +56,7 @@ #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L #define TU_VERIFY_STATIC _Static_assert #elif defined(__CCRX__) - #define TU_VERIFY_STATIC(const_expr, _mess) typedef char TU_XSTRCAT(Line, __LINE__)[(const_expr) ? 1 : 0]; + #define TU_VERIFY_STATIC(const_expr, _mess) typedef char TU_XSTRCAT3(Line, __LINE__, _TU_COUNTER_)[(const_expr) ? 1 : 0]; #else #define TU_VERIFY_STATIC(const_expr, _mess) enum { TU_XSTRCAT(_verify_static_, _TU_COUNTER_) = 1/(!!(const_expr)) } #endif |
