mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 13:07:34 +08:00
Restored to original PX4 version since the hrt_time functions are now also implemented in ROS
This commit is contained in:
+1
-4
@@ -36,11 +36,8 @@
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user