mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
AP_NavEKF2: add space for null-termination
This is simply to preserve existing behaviour when snprintf starts to null-terminate strings
This commit is contained in:
parent
f90dd0c156
commit
1c1d651979
@ -1155,7 +1155,7 @@ private:
|
|||||||
} mag_state;
|
} mag_state;
|
||||||
|
|
||||||
// string representing last reason for prearm failure
|
// string representing last reason for prearm failure
|
||||||
char prearm_fail_string[40];
|
char prearm_fail_string[41];
|
||||||
|
|
||||||
// performance counters
|
// performance counters
|
||||||
AP_HAL::Util::perf_counter_t _perf_UpdateFilter;
|
AP_HAL::Util::perf_counter_t _perf_UpdateFilter;
|
||||||
|
Loading…
Reference in New Issue
Block a user