Commit b45ac218 authored by Nicolas Docquier's avatar Nicolas Docquier
Browse files

Merge branch '259-realtime-type-mismatch-when-checking-error' into 'dev'

Resolve "Realtime type mismatch when checking error"

Closes #259

See merge request robotran/mbsysc!408
parents 50f62ff2 530f2b92
#ifdef REAL_TIME
#include "realtime.h"
......@@ -632,7 +631,7 @@ Simu_realtime* init_simu_realtime(MbsData* mbs_data, Realtime_option *options, i
if (options->flag_visu)
{
realtime->ext->visu = init_realtime_visu(options, mbs_data, err);
if (err < 0)
if (*err < 0)
{
mbs_msg("[%d] in init_simu_realtime VISU !! \n", *err);
return NULL;
......
Markdown is supported
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