Skip to content
Snippets Groups Projects
Commit 2bcbda49 authored by devbharat's avatar devbharat
Browse files

Added function prototype for missing declaration errors with nuttx

parent 68e3c477
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,7 @@ bool mc_att_control_thread_running = false; /**< Deamon status flag */
#if defined(__PX4_ROS)
int main(int argc, char **argv)
#else
int mc_att_control_start_main(int argc, char **argv); // Prototype for missing declearation error with nuttx
int mc_att_control_start_main(int argc, char **argv)
#endif
{
......
......@@ -51,6 +51,7 @@ bool mc_pos_control_thread_running = false; /**< Deamon status flag */
#if defined(__PX4_ROS)
int main(int argc, char **argv)
#else
int mc_pos_control_start_main(int argc, char **argv); // Prototype for missing declearation error with nuttx
int mc_pos_control_start_main(int argc, char **argv)
#endif
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment