mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-04 12:43:58 -04:00
AP_NavEKF: review feedback
This commit is contained in:
parent
f343c8501b
commit
b11450c18c
@ -50,7 +50,7 @@ protected:
|
||||
// fill all the common scratch variables with NaN on SITL
|
||||
void fill_scratch_variables(void);
|
||||
|
||||
// zero part of an array
|
||||
// zero part of an array for index range [n1,n2]
|
||||
static void zero_range(ftype *v, uint8_t n1, uint8_t n2) {
|
||||
memset(&v[n1], 0, sizeof(ftype)*(1+(n2-n1)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user