You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/04/18 13:35:49 UTC

[incubator-nuttx-apps] branch master updated: nshlib: remove the dependency of date on RTC

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

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 4adb83c  nshlib: remove the dependency of date on RTC
4adb83c is described below

commit 4adb83c754500cfebe4c24a498eb4139e3ff8866
Author: chao.an <an...@xiaomi.com>
AuthorDate: Tue Apr 7 16:33:05 2020 +0800

    nshlib: remove the dependency of date on RTC
    
    Change-Id: I98bd022fdc901ecb4e2e45a0faf779d83c260844
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 nshlib/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nshlib/Kconfig b/nshlib/Kconfig
index abc96d6..a6aa790 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"