You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/06/25 07:20:54 UTC

[incubator-nuttx-apps] branch releases/9.1 updated: Revert "nshlib: remove the dependency of date on RTC"

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

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


The following commit(s) were added to refs/heads/releases/9.1 by this push:
     new d483748  Revert "nshlib: remove the dependency of date on RTC"
d483748 is described below

commit d483748923d4ad77e0d1f98158548b75f65b9a77
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Wed Jun 24 14:36:52 2020 -0600

    Revert "nshlib: remove the dependency of date on RTC"
    
    This is a bad change.  It has been show to cause an increase in size by around 2.3Kb in minimal configurations that cannot tolerate that massive size increase.
    
    This reverts commit 4adb83c754500cfebe4c24a498eb4139e3ff8866.
---
 nshlib/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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