File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -297,9 +297,6 @@ bool sfeIoTNodeLoRaWAN::onSetup()
297297 // for system reset event
298298 flxRegisterEventCB (flxEvent::kOnSystemReset , this , &sfeIoTNodeLoRaWAN::onSystemResetEvent);
299299
300- // Set the default timer interval, before restore of settings
301- _timer.interval = kDefaultLogInterval ;
302-
303300 // was device auto load disabled by startup commands?
304301 if (inOpMode (kAppOpStartNoAutoload ))
305302 flux.setAutoload (false );
@@ -355,6 +352,8 @@ void sfeIoTNodeLoRaWAN::onRestore()
355352{
356353 // flxLog_I("in onRestore()");
357354 setAppClassID (kDLAppClassNameID , (char *)kAppClassPrefix );
355+ // Set the default timer interval, before restore of settings
356+ _timer.interval = kDefaultLogInterval ;
358357}
359358
360359// ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments