diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2012-09-13 09:19:52 -0400 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2012-09-13 09:19:52 -0400 |
commit | 1a0f22225b9ba34c90e1104ea1281976027979c1 (patch) | |
tree | d3867413aa3376d9f2a03dc9849a58c830835a72 /cores | |
parent | 999619579b0291a7e2714b77d2d60b7c43be9510 (diff) |
Moving ATmega32U4 Timer 2 #undef's to Leonardo pins_arduino.h file.
Diffstat (limited to 'cores')
-rwxr-xr-x | cores/arduino/Arduino.h | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h index d592aab..830c995 100755 --- a/cores/arduino/Arduino.h +++ b/cores/arduino/Arduino.h @@ -11,71 +11,6 @@ #include "binary.h" -// Workaround for wrong definitions in "iom32u4.h". -// This should be fixed in the AVR toolchain. -#ifdef __AVR_ATmega32U4__ -#undef UHCON -#undef UHINT -#undef UHIEN -#undef UHADDR -#undef UHFNUM -#undef UHFNUML -#undef UHFNUMH -#undef UHFLEN -#undef UPINRQX -#undef UPINTX -#undef UPNUM -#undef UPRST -#undef UPCONX -#undef UPCFG0X -#undef UPCFG1X -#undef UPSTAX -#undef UPCFG2X -#undef UPIENX -#undef UPDATX -#undef TCCR2A -#undef WGM20 -#undef WGM21 -#undef COM2B0 -#undef COM2B1 -#undef COM2A0 -#undef COM2A1 -#undef TCCR2B -#undef CS20 -#undef CS21 -#undef CS22 -#undef WGM22 -#undef FOC2B -#undef FOC2A -#undef TCNT2 -#undef TCNT2_0 -#undef TCNT2_1 -#undef TCNT2_2 -#undef TCNT2_3 -#undef TCNT2_4 -#undef TCNT2_5 -#undef TCNT2_6 -#undef TCNT2_7 -#undef OCR2A -#undef OCR2_0 -#undef OCR2_1 -#undef OCR2_2 -#undef OCR2_3 -#undef OCR2_4 -#undef OCR2_5 -#undef OCR2_6 -#undef OCR2_7 -#undef OCR2B -#undef OCR2_0 -#undef OCR2_1 -#undef OCR2_2 -#undef OCR2_3 -#undef OCR2_4 -#undef OCR2_5 -#undef OCR2_6 -#undef OCR2_7 -#endif - #ifdef __cplusplus extern "C"{ #endif |