-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
CONFIG_BMM150_SET_ATTR not defined (and now removed), giving dead code #7848
Comments
CC @punitvara I'm trying to get rid of all assignments to undefined Kconfig symbols, so it can be turned into an error during testing. |
This symbol never existed, and has some dead code associated with it: zephyrproject-rtos#7848 Just remove the assignment to the undefined Kconfig symbol for now. The associated code could be removed separately if it isn't needed anymore. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
I'm removing just the |
This symbol never existed, and has some dead code associated with it: #7848 Just remove the assignment to the undefined Kconfig symbol for now. The associated code could be removed separately if it isn't needed anymore. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
@ulfalizer Extra code could be useful when interrupt functionality will be added. @ulfalizer @MaureenHelm Do you suggest to remove extra code as of now ? |
@ulfalizer ?? |
@punitvara No panic to remove it on my part, if you think it might get used. |
Ok no problem @ulfalizer Closing this issue as code is reusable to enable interrupt |
drivers/sensor/bmm150/Kconfig
has no definition forBMM150_SET_ATTR
, which is set bysamples/sensor/bmm150/prj.conf
.drivers/sensor/bmm150/bmm150.c
has a bunch of#if defined(BMM150_SET_ATTR)
(and some#if defined(BMM150_SET_ATTR_REP)
), which are probably dead code. If those are meant to be Kconfig symbols, they'll need Kconfig definitions (and aCONFIG_
prefix in the#ifdef
s).The text was updated successfully, but these errors were encountered: