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