update for NOCALL-10

This commit is contained in:
richonguzman 2024-06-08 15:26:49 -04:00
parent b3441ece02
commit b2a8def481
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ namespace GPS_Utils {
}
void generateBeacons() {
if (!Utils::checkValidCallsign(Config.callsign)) {
show_display("- ERROR -", "CALLSIGN = NOT VALID!", " Use SSID 0-15", " Or Valid Callsign", 0);
if (Config.callsign.indexOf("NOCALL-10") != 0 && !Utils::checkValidCallsign(Config.callsign)) {
show_display("***** ERROR ******", "CALLSIGN = NOT VALID!", " Use SSID 0-15", " Or Valid Callsign", 0);
while (true) {}
}
String beaconPacket = Config.callsign;