mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-21 15:54:39 +01:00
38400 baud rate had issues with RXTX and linux. With JSSC, it seems to be working fine again. Fixes #2296
This commit is contained in:
parent
6c4f7dc293
commit
2f08fe4ecf
@ -111,7 +111,7 @@ public abstract class AbstractMonitor extends JFrame implements MessageConsumer
|
|||||||
|
|
||||||
String[] serialRateStrings = {
|
String[] serialRateStrings = {
|
||||||
"300", "1200", "2400", "4800", "9600",
|
"300", "1200", "2400", "4800", "9600",
|
||||||
"19200", "57600", "115200"
|
"19200", "38400", "57600", "115200"
|
||||||
};
|
};
|
||||||
|
|
||||||
serialRates = new JComboBox();
|
serialRates = new JComboBox();
|
||||||
|
@ -80,7 +80,7 @@ public class PreferencesData {
|
|||||||
|
|
||||||
private static void fixPreferences() {
|
private static void fixPreferences() {
|
||||||
String baud = get("serial.debug_rate");
|
String baud = get("serial.debug_rate");
|
||||||
if ("14400".equals(baud) || "28800".equals(baud) || "38400".equals(baud)) {
|
if ("14400".equals(baud) || "28800".equals(baud)) {
|
||||||
set("serial.debug_rate", "9600");
|
set("serial.debug_rate", "9600");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user