From 1e4a952eea2b2a43f31365df55f64ca279a42703 Mon Sep 17 00:00:00 2001 From: Lup Yuen Lee Date: Fri, 21 Mar 2025 08:19:57 +0800 Subject: [PATCH] examples/fbcon: Fix endchoice and help in Kconfig This PR fixes the `endchoice` and `help` in the Kconfig for fbcon - https://github.com/apache/nuttx-apps/pull/3029#discussion_r2006527306 This patch will fix these build errors: ```text apps/examples/fbcon/Kconfig:62: syntax error apps/examples/fbcon/Kconfig:172: unknown option "---help--" ``` https://github.com/lupyuen/nuttx-riscv64/actions/runs/13981663903/job/39147989438#step:5:158 Signed-off-by: Lup Yuen Lee --- examples/fbcon/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/fbcon/Kconfig b/examples/fbcon/Kconfig index eedf2213d..0c0aac033 100644 --- a/examples/fbcon/Kconfig +++ b/examples/fbcon/Kconfig @@ -58,6 +58,8 @@ config EXAMPLES_FBCON_BPP_NX_DEFAULT config EXAMPLES_FBCON_CUSTOM_BPP bool "Choose custom BPP (must not be disabled in NX)" +endchoice # EXAMPLES_FBCON_BPP_SELECTION + choice EXAMPLES_FBCON_CUSTOM_BPP prompt "Custom Font pixel depth (BPP - Bits Per Pixel)" depends on EXAMPLES_FBCON_CUSTOM_BPP @@ -93,7 +95,6 @@ config EXAMPLES_FBCON_32BPP depends on !NX_DISABLE_32BPP endchoice # EXAMPLES_FBCON_CUSTOM_BPP -endchoice # EXAMPLES_FBCON_BPP_SELECTION comment "Console appearance" @@ -169,7 +170,7 @@ comment "FB Console App Escape code decoding" config EXAMPLES_FBCON_VT100_DECODE bool "Decode VT100 Escape Codes" default y - ---help-- + ---help--- Decode VT100 ESC codes - only minimal supporting functions comment "FB Console spawn task configuration"