|
|
|
@ -221,7 +221,7 @@ private:
@@ -221,7 +221,7 @@ private:
|
|
|
|
|
struct hrt_call _call; |
|
|
|
|
unsigned _call_interval; |
|
|
|
|
|
|
|
|
|
RingBuffer *_accel_reports; |
|
|
|
|
ringbuffer::RingBuffer *_accel_reports; |
|
|
|
|
|
|
|
|
|
struct accel_scale _accel_scale; |
|
|
|
|
float _accel_range_scale; |
|
|
|
@ -230,7 +230,7 @@ private:
@@ -230,7 +230,7 @@ private:
|
|
|
|
|
int _accel_orb_class_instance; |
|
|
|
|
int _accel_class_instance; |
|
|
|
|
|
|
|
|
|
RingBuffer *_gyro_reports; |
|
|
|
|
ringbuffer::RingBuffer *_gyro_reports; |
|
|
|
|
|
|
|
|
|
struct gyro_scale _gyro_scale; |
|
|
|
|
float _gyro_range_scale; |
|
|
|
@ -571,13 +571,13 @@ GYROSIM::init()
@@ -571,13 +571,13 @@ GYROSIM::init()
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* allocate basic report buffers */ |
|
|
|
|
_accel_reports = new RingBuffer(2, sizeof(accel_report)); |
|
|
|
|
_accel_reports = new ringbuffer::RingBuffer(2, sizeof(accel_report)); |
|
|
|
|
if (_accel_reports == nullptr) { |
|
|
|
|
PX4_WARN("_accel_reports creation failed"); |
|
|
|
|
goto out; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
_gyro_reports = new RingBuffer(2, sizeof(gyro_report)); |
|
|
|
|
_gyro_reports = new ringbuffer::RingBuffer(2, sizeof(gyro_report)); |
|
|
|
|
if (_gyro_reports == nullptr) { |
|
|
|
|
PX4_WARN("_gyro_reports creation failed"); |
|
|
|
|
goto out; |
|
|
|
|