mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
xtensa/esp32s3: Update the reserved size for struct __lock
After https://github.com/apache/nuttx/pull/15075, the static assertion at `nuttx/arch/xtensa/src/esp32s3/esp32s3_libc_stubs.c` was being triggered when building any of the ESP32-S3's defconfigs. This commit updates the reserved size to reflect the changes introduced by the related PR.
This commit is contained in:
committed by
Xiang Xiao
parent
8a7f96e7f4
commit
f3ec1bd60c
@@ -43,12 +43,12 @@ struct __lock
|
|||||||
{
|
{
|
||||||
#ifdef CONFIG_PRIORITY_INHERITANCE
|
#ifdef CONFIG_PRIORITY_INHERITANCE
|
||||||
# if CONFIG_SEM_PREALLOCHOLDERS > 0
|
# if CONFIG_SEM_PREALLOCHOLDERS > 0
|
||||||
int reserved[5];
|
int reserved[6];
|
||||||
# else
|
# else
|
||||||
int reserved[8];
|
int reserved[9];
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
int reserved[4];
|
int reserved[5];
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user