Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions peripherals/sensors/ina226/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ menuconfig PKG_USING_INA226
A current monitoring chip from TI, driven through the SENSOR frame.

if PKG_USING_INA226

config PKG_INA226_USING_SENSOR_V1
bool "Enable sensor_v1 divce framework(please enbale an i2c bus)"
select RT_USING_SENSOR
default n

config PKG_USING_INA226_EXAMPLE
bool "Enable ina226 example"
default y
select PKG_INA226_USING_SENSOR_V1

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里应该是空格 不应该是tab

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修改

default n

config PKG_INA226_PATH
string
Expand Down