summaryrefslogtreecommitdiff
path: root/nuttx/configs/vsn
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-07 13:42:47 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-07 13:42:47 -0600
commitc1603e96719150625a8f53748703dd83e9681ede (patch)
treeda40cc56c6fb975108cf3c607f183aaa129cb6f9 /nuttx/configs/vsn
parent391b1d290aaedcb048c1c97d905f9ae9e9af0795 (diff)
downloadnuttx-c1603e96719150625a8f53748703dd83e9681ede.tar.gz
nuttx-c1603e96719150625a8f53748703dd83e9681ede.tar.bz2
nuttx-c1603e96719150625a8f53748703dd83e9681ede.zip
Change CONFIG_MSEC_PER_TICK to CONFIG_USEC_PER_TICK. This gives more options for system timers in general, but more importantly, let's us realize higher resolution for the case of CONFIG_SCHED_TICKLESS=y -- of course, at the risk of some new interger overvflow problems
Diffstat (limited to 'nuttx/configs/vsn')
-rw-r--r--nuttx/configs/vsn/nsh/defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/vsn/nsh/defconfig b/nuttx/configs/vsn/nsh/defconfig
index 79deec5c5..b77a58a5c 100644
--- a/nuttx/configs/vsn/nsh/defconfig
+++ b/nuttx/configs/vsn/nsh/defconfig
@@ -387,7 +387,7 @@ CONFIG_NSH_MMCSDSLOTNO=0
# RTOS Features
#
# CONFIG_BOARD_INITIALIZE is not set
-CONFIG_MSEC_PER_TICK=10
+CONFIG_USEC_PER_TICK=10000
# CONFIG_SYSTEM_TIME64 is not set
CONFIG_RR_INTERVAL=200
# CONFIG_SCHED_CPULOAD is not set