mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 08:51:35 +08:00
POSIX: Stub power management support
This commit is contained in:
@@ -116,6 +116,7 @@ __EXPORT void px4_enable_sim_lockstep(void);
|
|||||||
__EXPORT void px4_sim_start_delay(void);
|
__EXPORT void px4_sim_start_delay(void);
|
||||||
__EXPORT void px4_sim_stop_delay(void);
|
__EXPORT void px4_sim_stop_delay(void);
|
||||||
__EXPORT bool px4_sim_delay_enabled(void);
|
__EXPORT bool px4_sim_delay_enabled(void);
|
||||||
|
__EXPORT inline bool px4_board_pwr(bool on) { return false; }
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
#else
|
#else
|
||||||
@@ -146,6 +147,8 @@ __EXPORT const char *px4_get_topic_names(unsigned int *handle);
|
|||||||
__EXPORT uint64_t hrt_system_time(void);
|
__EXPORT uint64_t hrt_system_time(void);
|
||||||
|
|
||||||
__EXPORT bool px4_exit_requested(void);
|
__EXPORT bool px4_exit_requested(void);
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|||||||
Reference in New Issue
Block a user