More changes when going to an unassigned DG-ID.
This commit is contained in:
parent
06c4ff3eac
commit
6376866e21
1 changed files with 2 additions and 1 deletions
|
@ -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