Skip to content

Commit

Permalink
Move the I2C speed config key out of the choice prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
utkumaden committed Nov 25, 2024
1 parent 2dc752e commit b48a6e2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ menu "BMX280 Options"
bool "I2C Master Driver (i2c_master.h)"
help
Use I2C Master Driver (i2c_master.h) for ESP-IDF >= 5.3.
config BMX280_I2C_CLK_SPEED_HZ
int "I2C Clock Speed (Hz)"
default 100000
range 1000 400000
help
Set the I2C clock speed in Hz.
endchoice


config BMX280_I2C_CLK_SPEED_HZ
int "I2C Clock Speed (Hz)"
default 100000
range 1000 400000
help
Set the I2C clock speed in Hz. Only applies to the new I2C Master driver.

choice BMX280_EXPECT_DEVICE
prompt "Installed Sensor Model"
help
Expand Down

0 comments on commit b48a6e2

Please sign in to comment.