调整打印

This commit is contained in:
lyq 2026-01-26 15:17:55 +08:00
parent 86871a4ab8
commit 61fd82ee18

View File

@ -50,8 +50,8 @@ void CanDecoder::handle_bms_100(const sweeperMsg::CanFrame& msg)
ctx_.info.chargeStatus = (current >= 0);
}
LOG_INFO("[0x100] 总电压: %.2f V, 电流: %.2f A, 剩余容量: %.2f Ah, 是否在充电: %s", voltage, current, capacity,
((current >= 0) ? "" : ""));
// LOG_INFO("[0x100] 总电压: %.2f V, 电流: %.2f A, 剩余容量: %.2f Ah, 是否在充电: %s", voltage, current, capacity,
// ((current >= 0) ? "是" : "否"));
}
void CanDecoder::handle_bms_101(const sweeperMsg::CanFrame& msg)