mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Adapted for shared library use with ROS
This commit is contained in:
parent
cfe14d78c5
commit
9f9fab400e
@ -36,8 +36,11 @@
|
||||
* Adapter / shim layer for system calls needed by ECL
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_ARCH_ARM
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
#define ecl_absolute_time hrt_absolute_time
|
||||
#define ecl_elapsed_time hrt_elapsed_time
|
||||
|
||||
#else
|
||||
#include <attitude_fw/ecl_time_ROS.h>
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user