Describe the bug
Usually VectorBus.channels is a list with the channel numbers from the channel argument in the __init__ method.
Likewise, the keys of the VectorBus.channel_masks dict correspond to the channels given by the user in the __init__ method.
But if the serial argument is given, the global channel index is used for both VectorBus.channels and VectorBus.channel_masks.