mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 01:23:34 +08:00
POSIX: Avoid missing prototype warning on some POSIX platforms
This commit is contained in:
@@ -116,7 +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; }
|
||||
__EXPORT bool px4_board_pwr(bool on);
|
||||
|
||||
__END_DECLS
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user