From 575e938156eaefb94a07bb3a98ae8e8fa85c4428 Mon Sep 17 00:00:00 2001 From: Jasper Poppe Date: Sat, 27 Aug 2016 16:14:08 +0200 Subject: [PATCH] __AVR_Atmega32U4__ -> __AVR_ATmega32U4__ Fixed Leonardo & co board detection. --- ArduinoBoardManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduinoBoardManager.h b/ArduinoBoardManager.h index c144c40..adfe071 100644 --- a/ArduinoBoardManager.h +++ b/ArduinoBoardManager.h @@ -113,7 +113,7 @@ class ArduinoBoardManager { static const unsigned long SRAM_SIZE = 96000; static const unsigned long EEPROM_SIZE = 0; static const unsigned long FLASH_SIZE = 512000; -#elif defined(__AVR_Atmega32U4__) // Yun 16Mhz, Micro, Leonardo, Esplora +#elif defined(__AVR_ATmega32U4__) // Yun 16Mhz, Micro, Leonardo, Esplora static const uint8_t BOARD = 0x04; static const uint8_t NUM_BITS = 8; static const uint16_t CPU = __AVR_Atmega32U4__;