From 2ec34d1b05c5651af66038c8881f2e0dce597763 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 13 Feb 2025 22:42:21 +1100 Subject: [PATCH] AP_Proximity: mark many functions as __INITFUNC__ ... implying they can go into external flash --- libraries/AP_Proximity/AP_Proximity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Proximity/AP_Proximity.h b/libraries/AP_Proximity/AP_Proximity.h index 548766b73c..8df5f2a521 100644 --- a/libraries/AP_Proximity/AP_Proximity.h +++ b/libraries/AP_Proximity/AP_Proximity.h @@ -102,7 +102,7 @@ public: }; // detect and initialise any available proximity sensors - void init(); + __INITFUNC__ void init(); // update state of all proximity sensors. Should be called at high rate from main loop void update();