Skip to content

Commit

Permalink
Add missing return code
Browse files Browse the repository at this point in the history
  • Loading branch information
robbr48 committed Feb 6, 2024
1 parent def5621 commit 38a821d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HopsanGenerator/templates/fmu1_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ fmiStatus fmiInitializeSlave(fmiComponent c,
get_all_hopsan_messages(fmu);

state = Initialized;

return fmiOK;
}

void fmiFreeSlaveInstance(fmiComponent c)
Expand Down

0 comments on commit 38a821d

Please sign in to comment.