Commit 829fbc60 authored by Nicolas Van der Noot's avatar Nicolas Van der Noot
Browse files

void set_plot corrected

parent 7cd2956d
......@@ -9,6 +9,7 @@ project(MBsysC_realtime)
# list source files to compile
init_src()
increment_src(./realtime)
increment_src(./void)
# Get SDL lib and add plot functions to src
if (FLAG_PLOT)
......@@ -68,7 +69,7 @@ endif ( )
# include directories
include_directories("./")
include_directories("../mbs_struct")
include_directories("../mbs_utilities")
include_directories("./sdl" "./sdl/auto_plot")
include_directories("./realtime")
include_directories("../mbs_struct")
include_directories("../mbs_utilities")
......@@ -31,8 +31,6 @@ void free_set_plot()
}
}
#endif
/*! \brief function called by the user to plot a curve
*
* \param[in] value current value of the curve
......@@ -40,10 +38,10 @@ void free_set_plot()
*/
void set_plot(double value, char* label)
{
#ifdef SDL
if (flag_plot)
{
update_auto_plot(auto_plot, value, label);
}
#endif
}
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment