drivers/device/ringbuffer: move into crazyflie syslink (only remaining user)

This commit is contained in:
Daniel Agar
2020-11-17 19:47:06 -05:00
parent ed8a30d73e
commit 3f9e5a6934
10 changed files with 2 additions and 18 deletions
@@ -68,9 +68,6 @@ CameraCapture::CameraCapture() :
CameraCapture::~CameraCapture()
{
/* free any existing reports */
delete _trig_buffer;
camera_capture::g_camera_capture = nullptr;
}
@@ -295,13 +292,6 @@ CameraCapture::reset_statistics(bool reset_seq)
int
CameraCapture::start()
{
/* allocate basic report buffers */
_trig_buffer = new ringbuffer::RingBuffer(2, sizeof(_trig_s));
if (_trig_buffer == nullptr) {
return PX4_ERROR;
}
// run every 100 ms (10 Hz)
ScheduleOnInterval(100000, 10000);