mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Check microcontroller type before defining Mega ADK
This allows the users to easily use an ADK and for instance an Uno without needing to edit avrpins.h every time
This commit is contained in:
parent
0ccffe946c
commit
9460daf941
1 changed files with 2 additions and 0 deletions
|
@ -20,8 +20,10 @@ e-mail : support@circuitsathome.com
|
|||
#ifndef _avrpins_h_
|
||||
#define _avrpins_h_
|
||||
|
||||
#if defined(__AVR_ATmega1280__) || (__AVR_ATmega2560__)
|
||||
/* Uncomment the following if you have Arduino Mega ADK board with MAX3421e built-in */
|
||||
//#define BOARD_MEGA_ADK
|
||||
#endif
|
||||
|
||||
/* Uncomment the following if you are using a Teensy 2.0 */
|
||||
//#define BOARD_TEENSY
|
||||
|
|
Loading…
Reference in a new issue