File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -297,9 +297,6 @@ bool sfeIoTNodeLoRaWAN::onSetup()
297
297
// for system reset event
298
298
flxRegisterEventCB (flxEvent::kOnSystemReset , this , &sfeIoTNodeLoRaWAN::onSystemResetEvent);
299
299
300
- // Set the default timer interval, before restore of settings
301
- _timer.interval = kDefaultLogInterval ;
302
-
303
300
// was device auto load disabled by startup commands?
304
301
if (inOpMode (kAppOpStartNoAutoload ))
305
302
flux.setAutoload (false );
@@ -355,6 +352,8 @@ void sfeIoTNodeLoRaWAN::onRestore()
355
352
{
356
353
// flxLog_I("in onRestore()");
357
354
setAppClassID (kDLAppClassNameID , (char *)kAppClassPrefix );
355
+ // Set the default timer interval, before restore of settings
356
+ _timer.interval = kDefaultLogInterval ;
358
357
}
359
358
360
359
// ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments