herolic / aeroquad

Automatically exported from code.google.com/p/aeroquad
0 stars 0 forks source link

Processor specific Motors_PWMtimer class is not surrounded by ifdef #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Motors_PWMtimer compiles only for Atmel Mega CPUs due to CPU register 
references. Please encapsulate it with
#if defined (__AVR_ATmega328P__) || defined (__AVR_ATmega1280__) || 
defined(__AVR_ATmega2560__)
#endif
so it does not break the compilation for ATXmega or STM32 CPUs.

Original issue reported on code.google.com by al...@arcor.de on 12 Apr 2011 at 3:40

GoogleCodeExporter commented 9 years ago

Original comment by CaranchoEngineering@gmail.com on 25 Jun 2011 at 4:45