Skip to content

Commit

Permalink
AP_Logger: Structure: update scripting msg
Browse files Browse the repository at this point in the history
  • Loading branch information
IamPete1 committed Jun 18, 2023
1 parent d6c75a1 commit ee4aa45
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions libraries/AP_Logger/LogStructure.h
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,8 @@ struct PACKED log_Scripting {
char name[16];
uint32_t run_time;
int32_t total_mem;
int32_t run_mem;
int32_t script_mem;
int32_t run_allocation;
};

struct PACKED log_MotBatt {
Expand Down Expand Up @@ -1208,7 +1209,8 @@ struct PACKED log_VER {
// @Field: Name: script name
// @Field: Runtime: run time
// @Field: Total_mem: total memory usage of all scripts
// @Field: Run_mem: run memory usage
// @Field: mem: memory usage of this script
// @Field: alloc: memory allocated during this run

// @LoggerMessage: MOTB
// @Description: Motor mixer information
Expand Down Expand Up @@ -1342,7 +1344,7 @@ LOG_STRUCTURE_FROM_VISUALODOM \
"FILE", "NIBZ", "FileName,Offset,Length,Data", "----", "----" }, \
LOG_STRUCTURE_FROM_AIS \
{ LOG_SCRIPTING_MSG, sizeof(log_Scripting), \
"SCR", "QNIii", "TimeUS,Name,Runtime,Total_mem,Run_mem", "s#sbb", "F-F--", true }, \
"SCR", "QNIiii", "TimeUS,Name,Runtime,Total_mem,mem,alloc", "s#sbbb", "F-F---", true }, \
{ LOG_VER_MSG, sizeof(log_VER), \
"VER", "QBHBBBBIZH", "TimeUS,BT,BST,Maj,Min,Pat,FWT,GH,FWS,APJ", "s---------", "F---------", false }, \
{ LOG_MOTBATT_MSG, sizeof(log_MotBatt), \
Expand Down

0 comments on commit ee4aa45

Please sign in to comment.