Simplify and rename TACAN registry reserve function (#1559)

* Simplify and rename TACAN registry reserve function

* Remove unused tacan error
This commit is contained in:
Magnus Wolffelt
2021-08-18 14:46:55 +02:00
committed by GitHub
parent 0cb10e4224
commit 056e6b28da
3 changed files with 6 additions and 77 deletions

View File

@@ -228,11 +228,7 @@ class Operation:
if beacon.channel is None:
logging.error(f"TACAN beacon has no channel: {beacon.callsign}")
else:
cls.tacan_registry.reserve(
beacon.tacan_channel,
TacanUsage.TransmitReceive,
ignore_rules=True,
)
cls.tacan_registry.mark_unavailable(beacon.tacan_channel)
@classmethod
def _create_radio_registry(