xtensa/esp32s3: Fix static_assert compilation error

This commit is contained in:
chenwen@espressif.com 2024-04-22 19:45:30 +08:00 committed by Xiang Xiao
parent ea5583b112
commit 9735abab36

View File

@ -415,7 +415,8 @@ static const struct syscall_stub_table g_stub_table =
void esp_setup_syscall_table(void)
{
static_assert(sizeof(struct __lock) >= sizeof(mutex_t));
static_assert(sizeof(struct __lock) >= sizeof(mutex_t),
"Invalid size of struct __lock");
syscall_table_ptr = (struct syscall_stub_table *)&g_stub_table;