add used serial lines

This commit is contained in:
Harald Pichler 2016-12-04 15:45:09 +01:00
parent 6a1a4b62a0
commit aa1670e5d4
3 changed files with 5 additions and 1 deletions

View file

@ -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