mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 15:13:34 +08:00
MS5611: Fix build error
This commit is contained in:
@@ -271,7 +271,7 @@ MS5611::init()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* allocate basic report buffers */
|
/* allocate basic report buffers */
|
||||||
_reports = new ringbuffer::RingBuffer(2, sizeof(baro_report));
|
_reports = new ringbuffer::RingBuffer(2, sizeof(sensor_baro_s));
|
||||||
|
|
||||||
if (_reports == nullptr) {
|
if (_reports == nullptr) {
|
||||||
DEVICE_DEBUG("can't get memory for reports");
|
DEVICE_DEBUG("can't get memory for reports");
|
||||||
|
|||||||
Reference in New Issue
Block a user