mirror of
https://github.com/arduino/Arduino.git
synced 2025-04-06 21:57:57 +02:00
Removed useless baud rates from serial monitor
This commit is contained in:
parent
ec67c88b21
commit
dd772f761b
@ -308,7 +308,7 @@ public class Preferences {
|
|||||||
|
|
||||||
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)) {
|
if ("14400".equals(baud) || "28800".equals(baud) || "38400".equals(baud)) {
|
||||||
set("serial.debug_rate", "9600");
|
set("serial.debug_rate", "9600");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -122,7 +122,7 @@ public class SerialMonitor extends JFrame implements MessageConsumer {
|
|||||||
|
|
||||||
String[] serialRateStrings = {
|
String[] serialRateStrings = {
|
||||||
"300","1200","2400","4800","9600",
|
"300","1200","2400","4800","9600",
|
||||||
"19200","38400","57600","115200"
|
"19200","57600","115200"
|
||||||
};
|
};
|
||||||
|
|
||||||
serialRates = new JComboBox();
|
serialRates = new JComboBox();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user