From 03a22b61713b49d36b355c2f286cdfd58739bec5 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 11 Apr 2015 12:13:18 -0600 Subject: Allow NSH date command with no RTC. This command is useful without an RTC too. Also, this permits testing on the simulator which never has an RTC --- apps/nshlib/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/nshlib/Kconfig') diff --git a/apps/nshlib/Kconfig b/apps/nshlib/Kconfig index 45f56be29..b60bd08ae 100644 --- a/apps/nshlib/Kconfig +++ b/apps/nshlib/Kconfig @@ -179,8 +179,8 @@ config NSH_DISABLE_CMP config NSH_DISABLE_DATE bool "Disable date" - default n - depends on RTC + default n if RTC + default y if !RTC config NSH_DISABLE_DD bool "Disable dd" -- cgit v1.2.3