Browse Source

EKF: ensure data in buffers is zero at startup

master
Paul Riseborough 9 years ago committed by Roman
parent
commit
430d4b1cf8
  1. 1
      EKF/RingBuffer.h

1
EKF/RingBuffer.h

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

Loading…
Cancel
Save