mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 18:52:46 +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_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
|
||||
|
||||
Reference in New Issue
Block a user