updated EEPUT/EEGET for avr-gcc compiler version.

This commit is contained in:
skarg
2010-07-06 20:04:20 +00:00
parent 9bc2bf5975
commit a3b5bb0e2c
+1 -1
View File
@@ -216,7 +216,7 @@ typedef struct {
#include <avr/eeprom.h>
#define EEPROM_DECLARE(x) x __attribute__((section (".eeprom")))
#if ((__GNUC__ < 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ < 3)) || \
((__GNUC__ == 4) && (__GNUC_MINOR__ == 3) && (__GNUC_PATCHLEVEL__ < 4)))
((__GNUC__ == 4) && (__GNUC_MINOR__ == 3) && (__GNUC_PATCHLEVEL__ < 3)))
/* bug in WinAVR - not quite IAR compatible */
#define __EEPUT _EEPUT
#define __EEGET _EEGET