Skip to content

Commit 43477bd

Browse files
committed
Merge pull request #1583 from cow77/ide-1.5.x
Makes it possible to link Bridge to another linux-system.
2 parents af20a50 + b0941ad commit 43477bd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

libraries/Bridge/src/Bridge.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,12 @@ class SerialBridgeClass : public BridgeClass {
8181
}
8282

8383
void begin() {
84-
serial.begin(250000);
84+
serial.begin(250000); // for Yun
85+
BridgeClass::begin();
86+
}
87+
88+
void begin(int baudrate) {
89+
serial.begin(baudrate); // for other linux-systems
8590
BridgeClass::begin();
8691
}
8792

0 commit comments

Comments
 (0)