From b48a6e2fa948d776765f49f3dcc948bb58d48a03 Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Mon, 25 Nov 2024 22:44:33 +0300 Subject: [PATCH] Move the I2C speed config key out of the choice prompt. --- Kconfig | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Kconfig b/Kconfig index 224d572..c5e0673 100644 --- a/Kconfig +++ b/Kconfig @@ -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