diff --git a/gen/radios.py b/gen/radios.py index 358b5c1b..5210ba16 100644 --- a/gen/radios.py +++ b/gen/radios.py @@ -189,6 +189,7 @@ class RadioRegistry: try: while (channel := next(allocator)) in self.allocated_channels: pass + self.reserve(channel) return channel except StopIteration: raise OutOfChannelsError(radio)