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:
Peter Barker 2018-09-06 13:32:07 +10:00 committed by Andrew Tridgell
parent f90dd0c156
commit 1c1d651979

View File

@ -1155,7 +1155,7 @@ private:
} mag_state;
// string representing last reason for prearm failure
char prearm_fail_string[40];
char prearm_fail_string[41];
// performance counters
AP_HAL::Util::perf_counter_t _perf_UpdateFilter;