From e9c2dc563f7238623d8d9b1fdba80a29460f19fe Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 25 May 2015 10:00:31 +0200 Subject: [PATCH] Baro sim: Add ringbuffer namespace --- src/platforms/posix/drivers/barosim/baro.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platforms/posix/drivers/barosim/baro.cpp b/src/platforms/posix/drivers/barosim/baro.cpp index 13021444c0..dbabec9c4b 100644 --- a/src/platforms/posix/drivers/barosim/baro.cpp +++ b/src/platforms/posix/drivers/barosim/baro.cpp @@ -116,7 +116,7 @@ protected: struct work_s _work; unsigned _measure_ticks; - RingBuffer *_reports; + ringbuffer::RingBuffer *_reports; bool _collect_phase; unsigned _measure_phase; @@ -259,7 +259,7 @@ BAROSIM::init() } /* allocate basic report buffers */ - _reports = new RingBuffer(2, sizeof(baro_report)); + _reports = new ringbuffer::RingBuffer(2, sizeof(baro_report)); if (_reports == nullptr) { debug("can't get memory for reports");