-
Notifications
You must be signed in to change notification settings - Fork 4
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
case label value exceeds maximum value #3
Comments
@vincentfenet Yes, it's a bug, thx. I'm going to do something like this:
or the other possibility is to get rid of the extra nibble, which in this case it is useless (it is only usefule to distinguish same odr in LP and HP mode:
what do you think? |
in the sourcecode:
with:
So I don't understand the point of |
Not sure I got your point. It's not dead code, but just possible values of
And they are 0xE (1110b) and 0xF (1111b). Can you argument a bit more? |
yeah, sorry, it's not dead code. 1110 One-shot using the INT2 pin so it looks like it's ok ! |
OK, thx for confirming. I just need to wait a bit before putting this change on GH, but I will. |
The ctrl5.odr switch is testing two wrong values (6 bits instead of 4 bits). Fix issue #3 Signed-off-by: Armando Visconti <armando.visconti@st.com>
In
lis2dux12_mode_get
, looks like the last lines of this case are useless:The text was updated successfully, but these errors were encountered: