mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 10:26:52 +08:00
logger: fix uninitialized member variable
This was reported by Coverity Scan.
This commit is contained in:
@@ -405,7 +405,7 @@ private:
|
|||||||
will be stopped after load printing (for the full log) */
|
will be stopped after load printing (for the full log) */
|
||||||
print_load_s _load{}; ///< process load data
|
print_load_s _load{}; ///< process load data
|
||||||
hrt_abstime _next_load_print{0}; ///< timestamp when to print the process load
|
hrt_abstime _next_load_print{0}; ///< timestamp when to print the process load
|
||||||
PrintLoadReason _print_load_reason;
|
PrintLoadReason _print_load_reason {PrintLoadReason::Preflight};
|
||||||
|
|
||||||
param_t _sdlog_profile_handle{PARAM_INVALID};
|
param_t _sdlog_profile_handle{PARAM_INVALID};
|
||||||
param_t _log_utc_offset{PARAM_INVALID};
|
param_t _log_utc_offset{PARAM_INVALID};
|
||||||
|
|||||||
Reference in New Issue
Block a user