This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new a5f8dfdae0 Fix Kconfig style
a5f8dfdae0 is described below

commit a5f8dfdae0df47366e139c26a19abd4e3f07d04f
Author: simbit18 <[email protected]>
AuthorDate: Tue Oct 22 15:13:22 2024 +0200

    Fix Kconfig style
    
    Remove spaces from Kconfig files
    Add TABs
---
 drivers/analog/Kconfig | 28 ++++++++++++++--------------
 drivers/can/Kconfig    | 18 +++++++++---------
 2 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/drivers/analog/Kconfig b/drivers/analog/Kconfig
index 3d13c2ffeb..282e9879ef 100644
--- a/drivers/analog/Kconfig
+++ b/drivers/analog/Kconfig
@@ -234,26 +234,26 @@ config ADC_MCP3008
        default n
        select SPI
        ---help---
-        Enable driver support for the Microchip MCP3008 8-channel, 10-bit ADC.
+               Enable driver support for the Microchip MCP3008 8-channel, 
10-bit ADC.
 
 if ADC_MCP3008
 
 config ADC_MCP3008_SPI_FREQUENCY
-    int "Frequency in Hz"
-    default 2340000
-    range 0 3600000
-    ---help---
-        The frequency of SPI communications to the MCP3008, which also has an
-        effect on sample frequency. 3.6MHz is recommended for VDD >= 4V, 
2.34MHz
-        for VDD >= 3.3V and 1.35MHz for VDD = 2.7V.
+       int "Frequency in Hz"
+       default 2340000
+       range 0 3600000
+       ---help---
+               The frequency of SPI communications to the MCP3008, which also 
has an
+               effect on sample frequency. 3.6MHz is recommended for VDD >= 
4V, 2.34MHz
+               for VDD >= 3.3V and 1.35MHz for VDD = 2.7V.
 
 config ADC_MCP3008_DIFFERENTIAL
-    bool "Differential mode"
-    default n
-    ---help---
-        If yes, MCP3008 will be used in differential mode, which uses channel 
pairs
-        to measure differential signals. Otherwise, single-ended mode is used 
which
-        measures the voltage on each channel individually.
+       bool "Differential mode"
+       default n
+       ---help---
+               If yes, MCP3008 will be used in differential mode, which uses 
channel pairs
+               to measure differential signals. Otherwise, single-ended mode 
is used which
+               measures the voltage on each channel individually.
 
 endif # ADC_MCP3008
 
diff --git a/drivers/can/Kconfig b/drivers/can/Kconfig
index fd13f1ef49..9e321b8218 100644
--- a/drivers/can/Kconfig
+++ b/drivers/can/Kconfig
@@ -68,15 +68,15 @@ config CAN_NPENDINGRTR
                The size of the list of pending RTR requests. Default: 4
 
 config CAN_TXCONFIRM
-        bool "can txconfirm ability"
-        default n
-        ---help---
-                this section enables the can txconfirm ability.
-
-                Enabling this feature adds support for the can txconfirm
-                ability, the ability is used from CAN interrupt handler
-                when the transfer is complete, the ability will notify all
-                readers that the canid has been transferred.
+       bool "can txconfirm ability"
+       default n
+       ---help---
+               this section enables the can txconfirm ability.
+
+               Enabling this feature adds support for the can txconfirm
+               ability, the ability is used from CAN interrupt handler
+               when the transfer is complete, the ability will notify all
+               readers that the canid has been transferred.
 
 config CAN_TXREADY
        bool "can_txready interface"

Reply via email to