Skip to content

Commit

Permalink
SettableClock: Changed defaultOverdueClockEventHandlingMode to execut…
Browse files Browse the repository at this point in the history
…e because it may actually happen in a correctly set up simulation.

When the clock is being set, it may happen that some clock event becomes overdue.
The old default setting may mislead the user to think that this is an error.
  • Loading branch information
levy committed Jul 16, 2024
1 parent 7d66068 commit 5466bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inet/clock/model/SettableClock.ned
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package inet.clock.model;
module SettableClock extends OscillatorBasedClock
{
parameters:
string defaultOverdueClockEventHandlingMode @enum("execute","skip","error") = default("error");
string defaultOverdueClockEventHandlingMode @enum("execute","skip","error") = default("execute");
@class(SettableClock);
}

0 comments on commit 5466bd1

Please sign in to comment.