MS5611: Fix build error

This commit is contained in:
Lorenz Meier 2015-08-30 00:09:29 +02:00
parent 2b090d62c9
commit 299ccab3ae

View File

@ -271,7 +271,7 @@ MS5611::init()
}
/* allocate basic report buffers */
_reports = new ringbuffer::RingBuffer(2, sizeof(baro_report));
_reports = new ringbuffer::RingBuffer(2, sizeof(sensor_baro_s));
if (_reports == nullptr) {
DEVICE_DEBUG("can't get memory for reports");