Skip to content

Commit

Permalink
ArduPlane: mark many functions as __INITFUNC__
Browse files Browse the repository at this point in the history
... implying they can go into external flash
  • Loading branch information
peterbarker committed Feb 13, 2025
1 parent 47c21d7 commit 4bb32aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduPlane/Plane.h
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ class Plane : public AP_Vehicle {
#endif

// system.cpp
void init_ardupilot() override;
__INITFUNC__ void init_ardupilot() override;
bool set_mode(Mode& new_mode, const ModeReason reason);
bool set_mode(const uint8_t mode, const ModeReason reason) override;
bool set_mode_by_number(const Mode::Number new_mode_number, const ModeReason reason);
Expand Down

0 comments on commit 4bb32aa

Please sign in to comment.