1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

Makes it possible to link to another linux-system, not running with

250000 (not Yun, but f.i. an Arduino mega2560 with a modified/expanded
WR703N).

The default could stay at 250000 (Yun).
This commit is contained in:
cow77 2013-09-20 17:09:44 +02:00
parent fa04bd7323
commit b0941ad5c9

View File

@ -81,7 +81,12 @@ public:
}
void begin() {
serial.begin(250000);
serial.begin(250000); // for Yun
BridgeClass::begin();
}
void begin(int baudrate) {
serial.begin(baudrate); // for other linux-systems
BridgeClass::begin();
}