mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 19:53:35 +08:00
QuRT and POSIX changes - part 2
Second staged group of changes for QuRT and related POSIX changes Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -43,8 +43,7 @@ SRCS = \
|
||||
pio.cpp \
|
||||
spi.cpp \
|
||||
ringbuffer.cpp
|
||||
endif
|
||||
ifeq ($(PX4_TARGET_OS),posix)
|
||||
else
|
||||
SRCS = vdev.cpp \
|
||||
device.cpp \
|
||||
vdev_posix.cpp \
|
||||
|
||||
@@ -234,6 +234,8 @@ RingBuffer::force(double val)
|
||||
return force(&val, sizeof(val));
|
||||
}
|
||||
|
||||
// FIXME - clang crashes on this get() call
|
||||
#ifndef __PX4_QURT
|
||||
bool
|
||||
RingBuffer::get(void *val, size_t val_size)
|
||||
{
|
||||
@@ -263,6 +265,7 @@ RingBuffer::get(void *val, size_t val_size)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
bool
|
||||
RingBuffer::get(int8_t &val)
|
||||
|
||||
Reference in New Issue
Block a user