File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -574,7 +574,7 @@ void stateUpdate()
574574 }
575575
576576 // When did we last try to get keys? Attempt every 24 hours
577- else if (rtc.getEpoch () - settings.lastKeyAttempt > (60 * 60 * 24 ))
577+ else if (rtc.getEpoch () - settings.lastKeyAttempt > ( ENABLE_DEVELOPER ? 10 : ( 60 * 60 * 24 ) ))
578578 {
579579 settings.lastKeyAttempt = rtc.getEpoch (); // Mark it
580580 recordSystemSettings (); // Record these settings to unit
@@ -591,7 +591,7 @@ void stateUpdate()
591591 {
592592 displayNoSSIDs (1000 );
593593 changeState (
594- STATE_KEYS_DAYS_REMAINING); // We have valid keys, we've already tried today. No need to try again.
594+ STATE_KEYS_DAYS_REMAINING);
595595 }
596596
597597 // Added to allow user to select GetKeys from the display
@@ -601,7 +601,7 @@ void stateUpdate()
601601 lBandForceGetKeys = false ;
602602
603603 if (settings.debugPpCertificate )
604- systemPrintln (" Force key update. Starting WiFi " );
604+ systemPrintln (" Force key update" );
605605
606606 changeState (STATE_KEYS_PROVISION_STARTED);
607607 }
You can’t perform that action at this time.
0 commit comments