forked from Archive/PX4-Autopilot
EKF: ensure data in buffers is zero at startup
This commit is contained in:
parent
c6bd93ed40
commit
430d4b1cf8
|
@ -71,6 +71,7 @@ public:
|
|||
}
|
||||
|
||||
_size = size;
|
||||
memset(_buffer,0,sizeof(data_type)*_size);
|
||||
_first_write = true;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue