AP_Generator: 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 de1e44c77e
commit 17b91903ed
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ void AP_Generator_IE_2400::log_write()
return; return;
} }
AP::logger().Write( AP::logger().WriteStreaming(
"IE24", "IE24",
"TimeUS,FUEL,SPMPWR,POUT,ERR", "TimeUS,FUEL,SPMPWR,POUT,ERR",
"s%WW-", "s%WW-",

View File

@ -298,7 +298,7 @@ void AP_Generator_RichenPower::Log_Write()
} }
last_logged_reading_ms = last_reading_ms; last_logged_reading_ms = last_reading_ms;
AP::logger().Write( AP::logger().WriteStreaming(
"GEN", "GEN",
"TimeUS,runTime,maintTime,errors,rpm,ovolt,ocurr,mode", "TimeUS,runTime,maintTime,errors,rpm,ovolt,ocurr,mode",
"s-------", "s-------",