Browse Source

DataFlash: add load_average() to PM log message

master
Mark Whitehorn 7 years ago committed by Randy Mackay
parent
commit
83f4bf3390
  1. 3
      libraries/DataFlash/LogStructure.h

3
libraries/DataFlash/LogStructure.h

@ -1019,6 +1019,7 @@ struct PACKED log_Performance { @@ -1019,6 +1019,7 @@ struct PACKED log_Performance {
uint32_t max_time;
uint16_t ins_error_count;
uint32_t mem_avail;
uint16_t load;
};
struct PACKED log_SRTL {
@ -1234,7 +1235,7 @@ Format characters in the format string for binary log messages @@ -1234,7 +1235,7 @@ Format characters in the format string for binary log messages
{ LOG_PROXIMITY_MSG, sizeof(log_Proximity), \
"PRX", "QBfffffffffff", "TimeUS,Health,D0,D45,D90,D135,D180,D225,D270,D315,DUp,CAn,CDis", "s-mmmmmmmmmhm", "F-BBBBBBBBB00" }, \
{ LOG_PERFORMANCE_MSG, sizeof(log_Performance), \
"PM", "QHHIHI", "TimeUS,NLon,NLoop,MaxT,INSErr,Mem", "s----b", "F----0" }, \
"PM", "QHHIHIH", "TimeUS,NLon,NLoop,MaxT,INSErr,Mem,Load", "s----b%", "F----0A" }, \
{ LOG_SRTL_MSG, sizeof(log_SRTL), \
"SRTL", "QBHHBfff", "TimeUS,Active,NumPts,MaxPts,Action,N,E,D", "s----mmm", "F----000" }

Loading…
Cancel
Save