add used serial lines
This commit is contained in:
parent
6a1a4b62a0
commit
aa1670e5d4
3 changed files with 5 additions and 1 deletions
|
@ -85,7 +85,7 @@
|
|||
|
||||
#if defined (__AVR_ATmega128__) || defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega1281__) || defined(__AVR_ATmega128RFA1__) || defined(__AVR_ATmega128RFR2__) || defined(__AVR_ATmega256RFR2__)
|
||||
#ifndef NUMPORTS
|
||||
#define NUMPORTS 1 // we use the second serial for arduino api HardwareSerial1.cpp
|
||||
#define NUMPORTS 2
|
||||
#elif NUMPORTS > 2
|
||||
#error Only two serial ports are defined for this processor!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue