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:
parent
fa04bd7323
commit
b0941ad5c9
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user