mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
StubSensor template class implemented to allow registration with the DevMgr.
This commit is contained in:
@@ -41,6 +41,7 @@ set(config_module_list
|
||||
${EAGLE_DRIVERS_SRC}/uart_esc
|
||||
${EAGLE_DRIVERS_SRC}/rc_receiver
|
||||
${EAGLE_DRIVERS_SRC}/csr_gps
|
||||
${EAGLE_DRIVERS_SRC}/utils
|
||||
|
||||
#
|
||||
# System commands
|
||||
|
||||
@@ -47,6 +47,8 @@ __EXPORT extern uint64_t hrt_absolute_time(void);
|
||||
// declaration to make the compiler happy. This symbol is part of the adsp static image.
|
||||
void HAP_debug(const char *msg, int level, const char *filename, int line);
|
||||
|
||||
#ifndef qurt_log_defined
|
||||
#define qurt_log_defined
|
||||
static __inline void qurt_log(int level, const char *file, int line,
|
||||
const char *format, ...)
|
||||
{
|
||||
@@ -57,5 +59,6 @@ static __inline void qurt_log(int level, const char *file, int line,
|
||||
va_end(args);
|
||||
HAP_debug(buf, level, file, line);
|
||||
}
|
||||
#endif
|
||||
|
||||
__END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user