forked from mirror/qmk_firmware
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:
@@ -63,7 +63,7 @@
|
||||
#include "Atomic.h"
|
||||
|
||||
#define PROGMEM const
|
||||
#else
|
||||
#elif defined(__AVR__)
|
||||
#include <avr/io.h>
|
||||
#endif
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
|
||||
/** Type define for a signed native word-sized chunk of data. */
|
||||
typedef int32_t intN_t;
|
||||
#else
|
||||
#elif defined(__AVR__)
|
||||
/** Type define for an unsigned native word-sized chunk of data. */
|
||||
typedef uint8_t uintN_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user