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()
574
574
}
575
575
576
576
// 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 ) ))
578
578
{
579
579
settings.lastKeyAttempt = rtc.getEpoch (); // Mark it
580
580
recordSystemSettings (); // Record these settings to unit
@@ -591,7 +591,7 @@ void stateUpdate()
591
591
{
592
592
displayNoSSIDs (1000 );
593
593
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);
595
595
}
596
596
597
597
// Added to allow user to select GetKeys from the display
@@ -601,7 +601,7 @@ void stateUpdate()
601
601
lBandForceGetKeys = false ;
602
602
603
603
if (settings.debugPpCertificate )
604
- systemPrintln (" Force key update. Starting WiFi " );
604
+ systemPrintln (" Force key update" );
605
605
606
606
changeState (STATE_KEYS_PROVISION_STARTED);
607
607
}
You can’t perform that action at this time.
0 commit comments