We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 114089f commit 1824402Copy full SHA for 1824402
Firmware/RTK_Everywhere/menuPP.ino
@@ -1273,7 +1273,10 @@ void provisioningUpdate()
1273
if (settings.debugPpCertificate)
1274
systemPrintf("Days until keys expire: %d\r\n", daysRemaining);
1275
1276
- if (daysRemaining > 28)
+ // PointPerfect returns keys that expire at midnight so the primary key
1277
+ // is still available with 0 days left, and a Next Key that has 28 days left
1278
+ // If there are 28 days remaining, PointPerfect won't have new keys.
1279
+ if (daysRemaining >= 28)
1280
provisioningSetState(PROVISIONING_KEYS_REMAINING); // Don't need new keys
1281
else
1282
provisioningSetState(PROVISIONING_CHECK_ATTEMPT); // Do need new keys
0 commit comments