From 5466bd175c88c98ce11c957a0fe67994267279c2 Mon Sep 17 00:00:00 2001 From: Levente Meszaros Date: Tue, 16 Jul 2024 14:26:44 +0200 Subject: [PATCH] SettableClock: Changed defaultOverdueClockEventHandlingMode to execute 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. --- src/inet/clock/model/SettableClock.ned | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inet/clock/model/SettableClock.ned b/src/inet/clock/model/SettableClock.ned index 0e2a18fad30..156e4a5e9b3 100644 --- a/src/inet/clock/model/SettableClock.ned +++ b/src/inet/clock/model/SettableClock.ned @@ -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); }