diff options
Diffstat (limited to 'nuttx/arch/avr')
-rw-r--r-- | nuttx/arch/avr/src/at32uc3/at32uc3_timerisr.c | 10 | ||||
-rw-r--r-- | nuttx/arch/avr/src/at90usb/at90usb_timerisr.c | 2 | ||||
-rw-r--r-- | nuttx/arch/avr/src/atmega/atmega_timerisr.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/arch/avr/src/at32uc3/at32uc3_timerisr.c b/nuttx/arch/avr/src/at32uc3/at32uc3_timerisr.c index b12f8e264..160c3e6b3 100644 --- a/nuttx/arch/avr/src/at32uc3/at32uc3_timerisr.c +++ b/nuttx/arch/avr/src/at32uc3/at32uc3_timerisr.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/avr/src/at32uc3/at32uc3_timerisr.c * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2010, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -61,12 +61,12 @@ * setting that defaults to 100 (100 ticks per second = 10 MS interval). * * However, the AVR RTC does not support that default value well and so, we - * will insist that default is over-ridden by CONFIG_MSEC_PER_TICK in the - * configuration file. Further, we will insist that CONFIG_MSEC_PER_TICK - * have the value 8 (see reasoning below). + * will insist that default is over-ridden by CONFIG_USEC_PER_TICK in the + * configuration file. Further, we will insist that CONFIG_USEC_PER_TICK + * have the value 10000 (see reasoning below). */ -#if defined(CONFIG_MSEC_PER_TICK) && CONFIG_MSEC_PER_TICK != 10 +#if defined(CONFIG_USEC_PER_TICK) && CONFIG_USEC_PER_TICK != 10000 # error "Only a 100KHz system clock is supported" #endif diff --git a/nuttx/arch/avr/src/at90usb/at90usb_timerisr.c b/nuttx/arch/avr/src/at90usb/at90usb_timerisr.c index a6e82b604..9bd4514e9 100644 --- a/nuttx/arch/avr/src/at90usb/at90usb_timerisr.c +++ b/nuttx/arch/avr/src/at90usb/at90usb_timerisr.c @@ -56,7 +56,7 @@ ****************************************************************************/ /* The CPU frequency is given by BOARD_CPU_CLOCK (defined in board.h). The - * desired interrupt frequency is given by CONFIG_MSEC_PER_TICK. An unscaled + * desired interrupt frequency is given by CONFIG_USEC_PER_TICK. An unscaled * ideal match is given by: * * CLOCK = CPU_CLOCK / DIVISOR # CPU clocks/sec diff --git a/nuttx/arch/avr/src/atmega/atmega_timerisr.c b/nuttx/arch/avr/src/atmega/atmega_timerisr.c index 4c3ada87b..069935fb0 100644 --- a/nuttx/arch/avr/src/atmega/atmega_timerisr.c +++ b/nuttx/arch/avr/src/atmega/atmega_timerisr.c @@ -56,7 +56,7 @@ ****************************************************************************/ /* The CPU frequency is given by BOARD_CPU_CLOCK (defined in board.h). The - * desired interrupt frequency is given by CONFIG_MSEC_PER_TICK. An unscaled + * desired interrupt frequency is given by CONFIG_USEC_PER_TICK. An unscaled * ideal match is given by: * * CLOCK = CPU_CLOCK / DIVISOR # CPU clocks/sec |