Skip to content

CONFIG_BMM150_SET_ATTR not defined (and now removed), giving dead code #7848

@ulfalizer

Description

@ulfalizer

drivers/sensor/bmm150/Kconfig has no definition for BMM150_SET_ATTR, which is set by samples/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 a CONFIG_ prefix in the #ifdefs).

Metadata

Metadata

Assignees

Labels

area: SensorsSensorsbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions