When a public header contains _Static_assert or static_assert, check_public_headers.py script will detect it and report it as an issue. Indeed, public headers shall now use ESP_STATIC_ASSERT.