File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -976,20 +976,18 @@ void menuPointPerfect()
976
976
{
977
977
settings.enablePointPerfectCorrections ^= 1 ;
978
978
restartRover = true ; // Require a rover restart to enable / disable RTCM for PPL
979
- if (settings.enablePointPerfectCorrections )
980
- forceKeyAttempt = true ; // Force a key update
979
+ forceKeyAttempt = settings.enablePointPerfectCorrections ; // Force a key update - or don't
981
980
}
982
981
983
982
#ifdef COMPILE_NETWORK
984
983
else if (incoming == 2 && pointPerfectIsEnabled ())
985
984
{
986
985
settings.autoKeyRenewal ^= 1 ;
987
- if (settings.autoKeyRenewal )
988
- forceKeyAttempt = true ; // Force a key update
986
+ forceKeyAttempt = settings.autoKeyRenewal ; // Force a key update - or don't
989
987
}
990
988
else if (incoming == 3 && pointPerfectIsEnabled ())
991
989
{
992
- forceKeyAttempt = true ; // Force a key update
990
+ forceKeyAttempt ^= 1 ;
993
991
}
994
992
#endif // COMPILE_NETWORK
995
993
else if (incoming == ' c' && pointPerfectIsEnabled ())
You can’t perform that action at this time.
0 commit comments