mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-06 13:45:09 +00:00
netutils/ntpclient/Kconfig: Add NETUTILS_NTPCLIENT_STAY_ON
It's used in the code but missing in Kconfig. I guess the PR [1] forgot to add this. Make it "y" by default because it seems like the original behavior before the PR [1]. I have no strong opinions on the default either ways. [1] https://github.com/apache/incubator-nuttx-apps/pull/570
This commit is contained in:
parent
22115cc011
commit
ab86da4639
1 changed files with 5 additions and 0 deletions
|
|
@ -45,9 +45,14 @@ config NETUTILS_NTPCLIENT_SERVERPRIO
|
|||
int "NTP client daemon priority"
|
||||
default 100
|
||||
|
||||
config NETUTILS_NTPCLIENT_STAY_ON
|
||||
bool "Make NTP client keep polling"
|
||||
default y
|
||||
|
||||
config NETUTILS_NTPCLIENT_POLLDELAYSEC
|
||||
int "NTP client poll interval (seconds)"
|
||||
default 60
|
||||
depends on NETUTILS_NTPCLIENT_STAY_ON
|
||||
|
||||
config NETUTILS_NTPCLIENT_RETRIES
|
||||
int "NTP client retry seconds to wait for network up"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue