Skip to content
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

chibios compile warning #3226

Open
dewagter opened this issue Dec 22, 2023 · 2 comments
Open

chibios compile warning #3226

dewagter opened this issue Dec 22, 2023 · 2 comments

Comments

@dewagter
Copy link
Member

Compiling hal_rtc_lld.c
/home/mavlab/paparazzi/sw/ext/chibios/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c: In function 'i2c_lld_check_isr_limit':
/home/mavlab/paparazzi/sw/ext/chibios/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c:530:48: warning: unused parameter 'i2cp' [-Wunused-parameter]
530 | static bool i2c_lld_check_isr_limit(I2CDriver *i2cp) {
| ~~~~~~~~~~~^~~~

e.g. ENAC.conf CobraV2

@gautierhattenberger
Copy link
Member

Not sure if this is related to ChibiOS (and will hopefully be corrected when we update it) or if something is mis-configured on our side.
This will be investigated but later.

@fvantienen
Copy link
Member

It is some fixes from ardupilot which I added to chibios, to cope with i2c problems. Will take a look later, but currently I'm also busy updating chibios because there are other bugfixes that I want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants