Skip to content

Commit

Permalink
Update corefiles to latest version
Browse files Browse the repository at this point in the history
Merge commit 'de671f731134e873ab846a03f49285f755564ff3'
  • Loading branch information
MCUdude committed Jan 15, 2020
2 parents 4e0f3aa + de671f7 commit c0138ab
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions avr/cores/MCUdude_corefiles/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__) \
Expand All @@ -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

Expand Down

0 comments on commit c0138ab

Please sign in to comment.