diff options
Diffstat (limited to 'nuttx/arch/avr/src/at32uc3/at32uc3_timerisr.c')
-rw-r--r-- | nuttx/arch/avr/src/at32uc3/at32uc3_timerisr.c | 10 |
1 files changed, 5 insertions, 5 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 |