The "roll over" feature of advance_endpoints was acting on REGBRIDGE_OFFSET bit indices when it should not.
REGBRIDGE_OFFSET bit indices should always advance with the chip number independent of the MAX_WIDTH.
Modifications:
Add a regbridge boolean to the Endpoint class that detects if _REGBRIDGEOFFSET is in the endpoint name.
in advance_endpoints check for not endpoint.regbridge before "rolling over" the bit_index_low and the bit_index_high.
Note that the endpoint address is irrelevant to how we right to the register bridge.
The "roll over" feature of
advance_endpoints
was acting on REGBRIDGE_OFFSET bit indices when it should not. REGBRIDGE_OFFSET bit indices should always advance with the chip number independent of the MAX_WIDTH.Modifications:
regbridge
boolean to the Endpoint class that detects if _REGBRIDGEOFFSET is in the endpoint name.advance_endpoints
check fornot endpoint.regbridge
before "rolling over" thebit_index_low
and thebit_index_high
.