优化调试新增按键驱动

This commit is contained in:
冯佳
2026-01-23 13:03:40 +08:00
parent 0a30f956b4
commit 988cc7ad4a
66 changed files with 878713 additions and 1274 deletions

View File

@ -84,7 +84,7 @@ static void log_internal(log_level_t level, const char *format, va_list args) {
/* Format log message */
ret = snprintf(buffer, sizeof(buffer), "[%s] ", log_level_to_string(level));
if (ret < 0 || ret >= sizeof(buffer)) {
if (ret < 0 || (size_t)ret >= sizeof(buffer)) {
return;
}