diff --git a/src/platforms/px4_middleware.h b/src/platforms/px4_middleware.h index b0bc404173..16e73ec04a 100644 --- a/src/platforms/px4_middleware.h +++ b/src/platforms/px4_middleware.h @@ -59,7 +59,7 @@ extern bool task_should_exit; /** * Returns true if the app/task should continue to run */ -inline bool ok() { return !task_should_exit; } +__EXPORT inline bool ok() { return !task_should_exit; } #endif class Rate