diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-04-11 12:13:18 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-04-11 12:13:18 -0600 |
commit | 03a22b61713b49d36b355c2f286cdfd58739bec5 (patch) | |
tree | 9eb46bda1662f9d6a9f81e4eefdb45c0e369ed52 /apps/nshlib/nsh.h | |
parent | b80e8be652dfa52e97daa65aa3e550cf31cb2409 (diff) | |
download | px4-nuttx-03a22b61713b49d36b355c2f286cdfd58739bec5.tar.gz px4-nuttx-03a22b61713b49d36b355c2f286cdfd58739bec5.tar.bz2 px4-nuttx-03a22b61713b49d36b355c2f286cdfd58739bec5.zip |
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
Diffstat (limited to 'apps/nshlib/nsh.h')
-rw-r--r-- | apps/nshlib/nsh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h index 4d612a490..1a544429b 100644 --- a/apps/nshlib/nsh.h +++ b/apps/nshlib/nsh.h @@ -848,7 +848,7 @@ void nsh_usbtrace(void); int cmd_lbracket(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv); #endif -#if defined (CONFIG_RTC) && !defined(CONFIG_NSH_DISABLE_DATE) +#ifndef CONFIG_NSH_DISABLE_DATE int cmd_date(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv); #endif |