Skip to content

Commit

Permalink
Revert "nshlib: remove the dependency of date on RTC"
Browse files Browse the repository at this point in the history
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 4adb83c.
  • Loading branch information
gregory-nutt authored and btashton committed Jun 24, 2020
1 parent 4ae186d commit 192273d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nshlib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 192273d

Please sign in to comment.