You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/06/24 23:08:07 UTC
[incubator-nuttx-apps] branch master updated: Revert "nshlib:
remove the dependency of date on RTC"
This is an automated email from the ASF dual-hosted git repository.
btashton 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 192273d Revert "nshlib: remove the dependency of date on RTC"
192273d is described below
commit 192273da2ea27cad391e4ed498e2dce560fc35de
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"