File tree Expand file tree Collapse file tree 1 file changed +16
-19
lines changed Expand file tree Collapse file tree 1 file changed +16
-19
lines changed Original file line number Diff line number Diff line change @@ -973,7 +973,6 @@ void menuPointPerfect()
973973 }
974974 else if (incoming == 3 )
975975 {
976- #ifdef COMPILE_WIFI
977976 if (wifiNetworkCount () == 0 )
978977 {
979978 systemPrintln (" Error: Please enter at least one SSID before getting keys" );
@@ -1007,28 +1006,26 @@ void menuPointPerfect()
10071006
10081007 wifiStop ();
10091008 }
1010- #endif
1009+ else if (incoming == ' k' )
1010+ {
1011+ menuPointPerfectKeys ();
1012+ }
1013+ else if (incoming == ' x' )
1014+ break ;
1015+ else if (incoming == INPUT_RESPONSE_EMPTY)
1016+ break ;
1017+ else if (incoming == INPUT_RESPONSE_GETCHARACTERNUMBER_TIMEOUT)
1018+ break ;
1019+ else
1020+ printUnknown (incoming);
10111021 }
1012- else if (incoming == ' k' )
1022+
1023+ if (strlen (settings.pointPerfectClientID ) > 0 )
10131024 {
1014- menuPointPerfectKeys ();
1025+ pointperfectApplyKeys ();
10151026 }
1016- else if (incoming == ' x' )
1017- break ;
1018- else if (incoming == INPUT_RESPONSE_EMPTY)
1019- break ;
1020- else if (incoming == INPUT_RESPONSE_GETCHARACTERNUMBER_TIMEOUT)
1021- break ;
1022- else
1023- printUnknown (incoming);
1024- }
10251027
1026- if (strlen (settings.pointPerfectClientID ) > 0 )
1027- {
1028- pointperfectApplyKeys ();
1029- }
1030-
1031- clearBuffer (); // Empty buffer of any newline chars
1028+ clearBuffer (); // Empty buffer of any newline chars
10321029#endif // COMPILE_L_BAND
10331030}
10341031
You can’t perform that action at this time.
0 commit comments