-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add parameters to check that deck driver have been enabled #237
Comments
I noticed that driver initialization seems to be independent from the actual existence of a deck. For example, the deck driver for the zRanger is initialized even when the deck is not actually connected. This is in line with the description in this bug, but not expected by the user, I think Is this working as intended or is this a bug?. |
@fredg02 , that is not the intention. Only drivers for decks that are detected or drivers that are forced using the compile flag (like Can you describe how to reproduce it? |
I used the Python client to connect to a CF2 without a zRanger or Flow deck. In the parameters tab the Tested with the latest firmware (built from master). |
Yes, that sounds like the z-ranger driver has been initialized, the question is why. |
AFAIK it was a clean build, but I will do some more testing to isolate/reproduce the problem. |
OK. So apparently I don't know how visibility of global variables in C works. :( |
Add buzzer deck init parameter (#237)
Add deck parameter for BigQuad, Flow, OA and LED ring deck (#237)
It would be useful for diverse client to be able to check that a deck driver has been enabled or not.
Today this is done in the PC client checking for the presence of the one-wire memory contained in the decks but being able to check for driver initialization would also allow to check a manually enabled driver.
Doing so with parameters is also easier to use than parsing the one wire memories.
The proposal is to have one read only parameter per driver with the name "deck.". The content is a boolean, 1 for initialized, 0 for not initialized.
The text was updated successfully, but these errors were encountered: