diff --git a/nshlib/Kconfig b/nshlib/Kconfig index abc96d69e0..a6aa790644 100644 --- a/nshlib/Kconfig +++ b/nshlib/Kconfig @@ -259,8 +259,8 @@ config NSH_DISABLE_CMP config NSH_DISABLE_DATE bool "Disable date" - default n if RTC - default y if !RTC + default y if DEFAULT_SMALL + default n if !DEFAULT_SMALL config NSH_DISABLE_DD bool "Disable dd"