kconfig: Global whitespace/consistency cleanup
Clean up space errors and use a consistent style throughout the Kconfig files. This makes reading the Kconfig files more distraction-free, helps with grepping, and encourages the same style getting copied around everywhere (meaning another pass hopefully won't be needed). Go for the most common style: - Indent properties with a single tab, including for choices. Properties on choices work exactly the same syntactically as properties on symbols, so not sure how the no-indentation thing happened. - Indent help texts with a tab followed by two spaces - Put a space between 'config' and the symbol name, not a tab. This also helps when grepping for definitions. - Do '# A comment' instead of '#A comment' I tweaked Kconfiglib a bit to find most of the stuff. Some help texts were reflowed to 79 columns with 'gq' in Vim as well, though not all, because I was afraid I'd accidentally mess up formatting. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
9555f82d28
commit
975de21858
197 changed files with 657 additions and 658 deletions
|
@ -25,4 +25,4 @@ config DUMMY_DISPLAY_Y_RES
|
|||
int "Y resolution for dummy display"
|
||||
default 240
|
||||
|
||||
endif #DUMMY_DISPLAY
|
||||
endif # DUMMY_DISPLAY
|
||||
|
|
|
@ -10,7 +10,7 @@ menuconfig ILI9340
|
|||
bool "ILI9340 display driver"
|
||||
depends on SPI
|
||||
help
|
||||
Enable driver for ILI9340 display driver.
|
||||
Enable driver for ILI9340 display driver.
|
||||
|
||||
if ILI9340
|
||||
|
||||
|
@ -18,7 +18,7 @@ choice
|
|||
prompt "LCD"
|
||||
default ILI9340_LCD_ADAFRUIT_1480
|
||||
help
|
||||
Specify the type of LCD connected to the ILI9340 display controller.
|
||||
Specify the type of LCD connected to the ILI9340 display controller.
|
||||
|
||||
config ILI9340_LCD_ADAFRUIT_1480
|
||||
bool "Adafruit 2.2\" TFT 1480"
|
||||
|
@ -31,7 +31,7 @@ endchoice
|
|||
choice
|
||||
prompt "Color pixel format"
|
||||
help
|
||||
Specify the color pixel format of the ILI9340 display controller.
|
||||
Specify the color pixel format of the ILI9340 display controller.
|
||||
|
||||
config ILI9340_RGB888
|
||||
bool "RGB888"
|
||||
|
@ -41,4 +41,4 @@ config ILI9340_RGB565
|
|||
|
||||
endchoice
|
||||
|
||||
endif #ILI9340
|
||||
endif # ILI9340
|
||||
|
|
|
@ -40,4 +40,4 @@ config SSD1306_REVERSE_MODE
|
|||
help
|
||||
SSD16XX reverse video mode.
|
||||
|
||||
endif #SSD1306
|
||||
endif # SSD1306
|
||||
|
|
|
@ -63,6 +63,6 @@ config ST7789V_REVERSE_Y
|
|||
help
|
||||
Address pixels from bottom to top.
|
||||
|
||||
endif #ST7789V_RGB565
|
||||
endif # ST7789V_RGB565
|
||||
|
||||
endif #ST7789V
|
||||
endif # ST7789V
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue