We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d65814 commit f118deeCopy full SHA for f118dee
libraries/Bridge/library.properties
@@ -1,5 +1,5 @@
1
name=Bridge
2
-version=1.0.3
+version=1.0.4
3
author=Arduino
4
maintainer=Arduino <info@arduino.cc>
5
sentence=Enables the communication between the Linux processor and the AVR. For Arduino Yún and TRE only.
libraries/Bridge/src/Bridge.h
@@ -19,6 +19,10 @@
19
#ifndef BRIDGE_H_
20
#define BRIDGE_H_
21
22
+#ifndef BRIDGE_BAUDRATE
23
+#define BRIDGE_BAUDRATE 250000
24
+#endif
25
+
26
#include <Arduino.h>
27
#include <Stream.h>
28
@@ -96,7 +100,7 @@ class SerialBridgeClass : public BridgeClass {
96
100
// Empty
97
101
}
98
102
99
- void begin(unsigned long baudrate = 250000) {
103
+ void begin(unsigned long baudrate = BRIDGE_BAUDRATE) {
104
serial.begin(baudrate);
105
BridgeClass::begin();
106
0 commit comments