AP_BattMonitor: mark logger Write() calls as streaming where appropriate

This commit is contained in:
Andrew Tridgell 2021-08-17 19:57:41 +10:00 committed by Peter Barker
parent c80a2c2ef6
commit a2790f57c0
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ void AP_BattMonitor_Backend::Log_Write_BCL(const uint8_t instance, const uint64_
// @Field: Instance: battery instance number
// @Field: V13: thirteenth cell voltage
// @Field: V14: fourteenth cell voltage
AP::logger().Write(
AP::logger().WriteStreaming(
"BCL2",
"TimeUS,Instance,V13,V14",
"s#vv",

View File

@ -62,7 +62,7 @@ void AP_BattMonitor_MPPT_PacketDigital::perform_logging() const
// @Field: OutP: Output Power
for (uint8_t i=0; i<device_count; i++) {
AP::logger().Write("MPPT", "TimeUS,Inst,SN,F,Temp,InV,InC,InP,OutV,OutC,OutP",
AP::logger().WriteStreaming("MPPT", "TimeUS,Inst,SN,F,Temp,InV,InC,InP,OutV,OutC,OutP",
"s#--OVAWVAW",
"F----------",
"QBHBbffffff",