diff options
Diffstat (limited to 'nuttx/arch/pjrc-8051/src/pjrc.h')
-rw-r--r-- | nuttx/arch/pjrc-8051/src/pjrc.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nuttx/arch/pjrc-8051/src/pjrc.h b/nuttx/arch/pjrc-8051/src/pjrc.h index fd875d388..0934c78be 100644 --- a/nuttx/arch/pjrc-8051/src/pjrc.h +++ b/nuttx/arch/pjrc-8051/src/pjrc.h @@ -183,8 +183,7 @@ sfr at 0xc9 T2MOD ; * Timer 0 provides only a 8-bit auto-reload mode. */ -#define CONFIG_80C52_TIMER2 1 -#ifdef CONFIG_80C52_TIMER2 +#ifdef CONFIG_8052_TIMER2 /* To use timer 2 as the 100Hz system timer, we need to calculate a 16-bit * reload value that results in 100Hz overflow interrupts. That value @@ -207,8 +206,6 @@ sfr at 0xc9 T2MOD ; * second. */ -# warning "No support for timer 0 as the system timer" - #endif /************************************************************************** |