-
Notifications
You must be signed in to change notification settings - Fork 2k
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
drivers: si70xx: fixed left shift compiler warning for 16bit platforms #5231
Conversation
Signed-off-by: malo <malo@25cmsquare.io>
ACK |
(untested, I don't have the device) |
I can test this tonight or tomorrow. |
Tested it, and the driver still works, although I only have a 32-bit MCU to test it with. |
Hello Bas, |
…it platforms Signed-off-by: malo <malo@25cmsquare.io>
Hello, |
Hello, |
Looking good, Murdock is happy -> and go. |
Needs backport. |
Nope, already in release branch. Sorry. |
Sorry some confusion in the logs.... This is not in the release branch so a backport is still needed... |
Log is trolling me... It's already in the release branch (for sure this time, since a rebase of this PR to the release branch led to a noop) |
Hello,
minor compiler warning in si70xx driver for 16bits (msp430).
/home/malo/RIOT/drivers/si70xx/si70xx.c: In function ‘si70xx_get_serial’:
/home/malo/RIOT/drivers/si70xx/si70xx.c:152:5: error: left shift count >= width of type [-Werror]
/home/malo/RIOT/drivers/si70xx/si70xx.c:152:5: error: left shift count >= width of type [-Werror]
/home/malo/RIOT/drivers/si70xx/si70xx.c:154:5: error: left shift count >= width of type [-Werror]
/home/malo/RIOT/drivers/si70xx/si70xx.c:154:5: error: left shift count >= width of type [-Werror]
cc1: all warnings being treated as errors
wbr
malo