diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-07 13:42:47 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-07 13:42:47 -0600 |
commit | c1603e96719150625a8f53748703dd83e9681ede (patch) | |
tree | da40cc56c6fb975108cf3c607f183aaa129cb6f9 /nuttx/configs/sam4e-ek | |
parent | 391b1d290aaedcb048c1c97d905f9ae9e9af0795 (diff) | |
download | px4-nuttx-c1603e96719150625a8f53748703dd83e9681ede.tar.gz px4-nuttx-c1603e96719150625a8f53748703dd83e9681ede.tar.bz2 px4-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/sam4e-ek')
-rw-r--r-- | nuttx/configs/sam4e-ek/nsh/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/sam4e-ek/usbnsh/defconfig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/sam4e-ek/nsh/defconfig b/nuttx/configs/sam4e-ek/nsh/defconfig index b232ddc1e..8107b6c4e 100644 --- a/nuttx/configs/sam4e-ek/nsh/defconfig +++ b/nuttx/configs/sam4e-ek/nsh/defconfig @@ -338,7 +338,7 @@ CONFIG_SAM4EEK_AT25_FTL=y # 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 diff --git a/nuttx/configs/sam4e-ek/usbnsh/defconfig b/nuttx/configs/sam4e-ek/usbnsh/defconfig index 83d2a4093..dad34d1cb 100644 --- a/nuttx/configs/sam4e-ek/usbnsh/defconfig +++ b/nuttx/configs/sam4e-ek/usbnsh/defconfig @@ -343,7 +343,7 @@ CONFIG_SAM4EEK_AT25_FTL=y # 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 |