mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-01-23 16:40:18 +01:00
More changes when going to an unassigned DG-ID.
This commit is contained in:
parent
06c4ff3eac
commit
6376866e21
|
|
@ -421,6 +421,7 @@ int CDGIdGateway::run()
|
|||
state = DS_NOTLINKED;
|
||||
} else {
|
||||
LogMessage("DG-ID set to %u (None) via RF", dgId);
|
||||
state = DS_NOTOPEN;
|
||||
}
|
||||
|
||||
currentDGId = dgId;
|
||||
|
|
@ -534,7 +535,7 @@ int CDGIdGateway::run()
|
|||
nPips = 3U;
|
||||
state = netState;
|
||||
} else {
|
||||
if (fromRF && state == DS_LINKED)
|
||||
if (fromRF && state != DS_NOTLINKED)
|
||||
nPips = 2U;
|
||||
state = DS_NOTLINKED;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue