-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
cbhw\device\nsp throws an error with the get_config() method. RECONFIGALL returns 266 channels on a hub that is configured to 256 channels. This is because of a change where the hub responds with channels it can trigger on an NSP, i.e. the 4x analog outs, 4x digital outs, and 2x analog outs (4+4+2=10, 256+10=266). I made a patch in the hitl_testing_dev branch that counts n_infos based on counting in a for loop when this criteria is met: self._config['channel_types'][i] == CBChannelType.FrontEnd. The old version simply counts based on n_infos = len(self._config["channel_infos"])
There's probably a more elegant solution in lower level packet parsing methods that I am not knowledgeable enough to fix.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels