修复日志输出转义bug

This commit is contained in:
lyq 2026-01-21 10:20:01 +08:00
parent 06adb527c8
commit c52bce7aed

View File

@ -69,7 +69,7 @@ void CanDecoder::handle_bms_101(const sweeperMsg::CanFrame& msg)
ctx_.info.power = rsoc;
}
LOG_INFO("[0x101] 充满容量: %.2f Ah, 循环次数: %d 次, 剩余容量百分比(RSOC): %.1f %", full_capacity, cycle_count,
LOG_INFO("[0x101] 充满容量: %.2f Ah, 循环次数: %d 次, 剩余容量百分比(RSOC): %.2f %%", full_capacity, cycle_count,
rsoc);
}