-
Notifications
You must be signed in to change notification settings - Fork 85
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
Error in return type for most 'autorange' properties in nidcpower library #2030
Comments
Hello,
Looking at the You may be thinking Thanks for the feedback! |
Hello, I do not think that The first link that you provided, which refers to |
I see, I misread the code. However |
It happens. |
Were there other properties in the API that seem wrong? |
Here is a list of the properties that are documented as
EDIT: I tested all of them in a similar fashion as the above test script provided when I opened the issue. |
Based on what @marcoskirsch has told me, we should have done something like this with an enum for each of these properties:
Key points:
Before we make a change like this, we need to think through the implications and do some testing to confirm it's not a breaking change. |
Description of issue
In the code documentation, most of the "autorange"-related parameter are described as
bool
, which is wrong.The correct type is
int
.Steps to reproduce issue
The text was updated successfully, but these errors were encountered: