EKF: ensure data in buffers is zero at startup

This commit is contained in:
Paul Riseborough 2016-04-04 14:47:42 -07:00 committed by Roman
parent c6bd93ed40
commit 430d4b1cf8
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ public:
}
_size = size;
memset(_buffer,0,sizeof(data_type)*_size);
_first_write = true;
return true;
}