1 Commits

Author SHA1 Message Date
b48a6e2fa9 Move the I2C speed config key out of the choice prompt. 2024-11-25 22:44:33 +03:00

View File

@@ -12,13 +12,14 @@ menu "BMX280 Options"
bool "I2C Master Driver (i2c_master.h)" bool "I2C Master Driver (i2c_master.h)"
help help
Use I2C Master Driver (i2c_master.h) for ESP-IDF >= 5.3. Use I2C Master Driver (i2c_master.h) for ESP-IDF >= 5.3.
endchoice
config BMX280_I2C_CLK_SPEED_HZ config BMX280_I2C_CLK_SPEED_HZ
int "I2C Clock Speed (Hz)" int "I2C Clock Speed (Hz)"
default 100000 default 100000
range 1000 400000 range 1000 400000
help help
Set the I2C clock speed in Hz. Set the I2C clock speed in Hz. Only applies to the new I2C Master driver.
endchoice
choice BMX280_EXPECT_DEVICE choice BMX280_EXPECT_DEVICE
prompt "Installed Sensor Model" prompt "Installed Sensor Model"