AP_Logger: log parameter space used as part of log open
This commit is contained in:
parent
b493805fb4
commit
78af091869
@ -181,6 +181,13 @@ void LoggerMessageWriter_WriteSysInfo::process() {
|
||||
return; // call me again
|
||||
}
|
||||
}
|
||||
stage = ws_blockwriter_stage_param_space_used;
|
||||
FALLTHROUGH;
|
||||
|
||||
case ws_blockwriter_stage_param_space_used:
|
||||
if (! _logger_backend->Write_MessageF("Param space used: %u/%u", AP_Param::storage_used(), AP_Param::storage_size())) {
|
||||
return; // call me again
|
||||
}
|
||||
stage = ws_blockwriter_stage_rc_protocol;
|
||||
FALLTHROUGH;
|
||||
|
||||
|
@ -31,6 +31,7 @@ private:
|
||||
ws_blockwriter_stage_firmware_string,
|
||||
ws_blockwriter_stage_git_versions,
|
||||
ws_blockwriter_stage_system_id,
|
||||
ws_blockwriter_stage_param_space_used,
|
||||
ws_blockwriter_stage_rc_protocol
|
||||
};
|
||||
write_sysinfo_blockwriter_stage stage;
|
||||
|
Loading…
Reference in New Issue
Block a user