Skip to content

Commit

Permalink
Fix on names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakio815 committed Jan 20, 2025
1 parent 601a541 commit d88f8d5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -772,15 +772,16 @@ else if (globalSTP instanceof CodeExprImpl)

// Disable clock synchronization for the federate if it resides on the same host as the RTI,
// unless that is overridden with the clock-sync-options target property.
//TODO: Fix here.
if (CExtensionUtils.clockSyncIsOn(federate, rtiConfig)) {
code.pr("synchronize_initial_physical_clock_with_rti(&_fed.socket_TCP_RTI);");
code.pr("synchronize_initial_physical_clock_with_rti(_fed.netdrv_to_RTI);");
}

if (numberOfInboundConnections > 0) {
code.pr(
String.join(
"\n",
"// Create a socket server to listen to other federates.",
"// Create a server to listen to other federates.",
"// If a port is specified by the user, that will be used",
"// as the only possibility for the server. If not, the port",
"// will be selected by the OS (by specifying port 0).",
Expand Down

0 comments on commit d88f8d5

Please sign in to comment.