From de671f731134e873ab846a03f49285f755564ff3 Mon Sep 17 00:00:00 2001 From: MCUdude Date: Wed, 15 Jan 2020 23:07:07 +0100 Subject: [PATCH] Squashed 'avr/cores/MCUdude_corefiles/' changes from 0155cdd5..7705b939 7705b939 Fix analog reference for ATmega324PB git-subtree-dir: avr/cores/MCUdude_corefiles git-subtree-split: 7705b93910a1bcfcf79c8243a1f6b4e6f04cfe99 --- Arduino.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Arduino.h b/Arduino.h index d7d4af608..2aa791639 100755 --- a/Arduino.h +++ b/Arduino.h @@ -80,7 +80,7 @@ void yield(void); #define EXTERNAL 0 #define DEFAULT 1 // Default -> AVCC with external capacitor at AREF pin #define INTERNAL1V1 3 - #define INTERNAL 3 + #define INTERNAL 3 // ATmega640, ATmega1280, ATmega1281, ATmega2560, ATmega2561 #elif defined(__AVR_ATmega640__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega1281__) \ @@ -89,18 +89,19 @@ void yield(void); #define DEFAULT 1 // Default -> AVCC with external capacitor at AREF pin #define INTERNAL1V1 2 #define INTERNAL2V56 3 - #define INTERNAL 3 + #define INTERNAL 3 -// ATmega164A/P, ATmega324A/P/PA, ATmega644/P, ATmega1284/P +// ATmega164A/P, ATmega324A/P/PA/PB, ATmega644/P, ATmega1284/P #elif defined(__AVR_ATmega164A__) || defined(__AVR_ATmega164P__) || defined(__AVR_ATmega324A__) \ -|| defined(__AVR_ATmega324PA__) || defined(__AVR_ATmega324P__) || defined(__AVR_ATmega644A__) \ -|| defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__) +|| defined(__AVR_ATmega324P__) || defined(__AVR_ATmega324PA__) || defined(__AVR_ATmega324PB__) \ +|| defined(__AVR_ATmega644A__) || defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284__) \ +|| defined(__AVR_ATmega1284P__) #define EXTERNAL 0 #define DEFAULT 1 // Default -> AVCC with external capacitor at AREF pin #define INTERNAL1V1 2 #define INTERNAL2V56 3 - #define INTERNAL 3 + #define INTERNAL 3 #endif