Update Temperature board driver to be AVR32 compatible when the ADC peripheral driver is eventually ported. Make architecture includes explicit for both the AVR32 and the AVR8, to make way for future architecture ports.

Add SPI driver aliases for the old function names in the AVR8 driver, so that existing code will still compile against the new version.
This commit is contained in:
Dean Camera 2010-02-23 03:51:17 +00:00
parent c24027f3b5
commit e11fddfe66
18 changed files with 138 additions and 92 deletions

View file

@ -59,9 +59,11 @@
#endif
/* Includes: */
#include "../../Common/Common.h"
#if defined(__AVR32__)
#include "AVR32/SPI.h"
#else
#elif defined(__AVR__)
#include "AVR8/SPI.h"
#endif