forked from Archive/PX4-Autopilot
Remove noreturn attribute from all apps that actually can return
This commit is contained in:
parent
df7d595999
commit
88194c5971
|
@ -273,7 +273,7 @@ private:
|
|||
/**
|
||||
* Main sensor collection task.
|
||||
*/
|
||||
void task_main() __attribute__((noreturn));
|
||||
void task_main();
|
||||
};
|
||||
|
||||
namespace att_control
|
||||
|
|
|
@ -237,7 +237,7 @@ private:
|
|||
/**
|
||||
* Main sensor collection task.
|
||||
*/
|
||||
void task_main() __attribute__((noreturn));
|
||||
void task_main();
|
||||
};
|
||||
|
||||
namespace estimator
|
||||
|
|
|
@ -345,7 +345,7 @@ private:
|
|||
/**
|
||||
* Main sensor collection task.
|
||||
*/
|
||||
void task_main() __attribute__((noreturn));
|
||||
void task_main();
|
||||
|
||||
/*
|
||||
* Reset takeoff state
|
||||
|
|
|
@ -225,9 +225,9 @@ private:
|
|||
static void task_main_trampoline(int argc, char *argv[]);
|
||||
|
||||
/**
|
||||
* Main sensor collection task.
|
||||
* Main attitude control task.
|
||||
*/
|
||||
void task_main() __attribute__((noreturn));
|
||||
void task_main();
|
||||
};
|
||||
|
||||
namespace mc_att_control
|
||||
|
|
|
@ -226,7 +226,7 @@ private:
|
|||
/**
|
||||
* Main sensor collection task.
|
||||
*/
|
||||
void task_main() __attribute__((noreturn));
|
||||
void task_main();
|
||||
};
|
||||
|
||||
namespace pos_control
|
||||
|
|
|
@ -434,7 +434,7 @@ private:
|
|||
/**
|
||||
* Main sensor collection task.
|
||||
*/
|
||||
void task_main() __attribute__((noreturn));
|
||||
void task_main();
|
||||
};
|
||||
|
||||
namespace sensors
|
||||
|
|
Loading…
Reference in New Issue