mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Added accidentally removed serial baud rates back in
This commit is contained in:
parent
16c852ada5
commit
a6184cb03d
@ -40,6 +40,8 @@ public abstract class AbstractMonitor extends JFrame implements ActionListener {
|
||||
private Timer updateTimer;
|
||||
|
||||
private BoardPort boardPort;
|
||||
|
||||
protected String[] serialRateStrings = {"300", "1200", "2400", "4800", "9600", "19200", "38400", "57600", "74880", "115200", "230400", "250000"};
|
||||
|
||||
public AbstractMonitor(BoardPort boardPort) {
|
||||
super(boardPort.getLabel());
|
||||
|
@ -109,11 +109,6 @@ public abstract class AbstractTextMonitor extends AbstractMonitor {
|
||||
}
|
||||
lineEndings.setMaximumSize(lineEndings.getMinimumSize());
|
||||
|
||||
String[] serialRateStrings = {
|
||||
"300", "1200", "2400", "4800", "9600",
|
||||
"19200", "38400", "57600", "115200", "230400", "250000"
|
||||
};
|
||||
|
||||
serialRates = new JComboBox();
|
||||
for (String rate : serialRateStrings) {
|
||||
serialRates.addItem(rate + " " + _("baud"));
|
||||
|
@ -163,11 +163,6 @@ public class SerialPlotter extends AbstractMonitor {
|
||||
JPanel pane = new JPanel();
|
||||
pane.setLayout(new BoxLayout(pane, BoxLayout.X_AXIS));
|
||||
pane.setBorder(new EmptyBorder(4, 4, 4, 4));
|
||||
|
||||
String[] serialRateStrings = {
|
||||
"300","1200","2400","4800","9600","14400",
|
||||
"19200","28800","38400","57600","115200"
|
||||
};
|
||||
|
||||
serialRates = new JComboBox();
|
||||
for (int i = 0; i < serialRateStrings.length; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user