调整打印
This commit is contained in:
parent
86871a4ab8
commit
61fd82ee18
@ -50,8 +50,8 @@ void CanDecoder::handle_bms_100(const sweeperMsg::CanFrame& msg)
|
|||||||
ctx_.info.chargeStatus = (current >= 0);
|
ctx_.info.chargeStatus = (current >= 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_INFO("[0x100] 总电压: %.2f V, 电流: %.2f A, 剩余容量: %.2f Ah, 是否在充电: %s", voltage, current, capacity,
|
// LOG_INFO("[0x100] 总电压: %.2f V, 电流: %.2f A, 剩余容量: %.2f Ah, 是否在充电: %s", voltage, current, capacity,
|
||||||
((current >= 0) ? "是" : "否"));
|
// ((current >= 0) ? "是" : "否"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void CanDecoder::handle_bms_101(const sweeperMsg::CanFrame& msg)
|
void CanDecoder::handle_bms_101(const sweeperMsg::CanFrame& msg)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user