1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-15 00:02:49 +03:00

Merge pull request #2485 from ffissore/ide-1.5.x-reenable-38400

Re enable 38400 baud rates
This commit is contained in:
Cristian Maglie
2015-01-06 17:39:44 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ public abstract class AbstractMonitor extends JFrame implements ActionListener {
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();

View File

@ -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");
} }
} }