Skip to content

Commit a6184cb

Browse files
committed
Added accidentally removed serial baud rates back in
1 parent 16c852a commit a6184cb

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

Diff for: app/src/processing/app/AbstractMonitor.java

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ public abstract class AbstractMonitor extends JFrame implements ActionListener {
4040
private Timer updateTimer;
4141

4242
private BoardPort boardPort;
43+
44+
protected String[] serialRateStrings = {"300", "1200", "2400", "4800", "9600", "19200", "38400", "57600", "74880", "115200", "230400", "250000"};
4345

4446
public AbstractMonitor(BoardPort boardPort) {
4547
super(boardPort.getLabel());

Diff for: app/src/processing/app/AbstractTextMonitor.java

-5
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,6 @@ public void actionPerformed(ActionEvent event) {
109109
}
110110
lineEndings.setMaximumSize(lineEndings.getMinimumSize());
111111

112-
String[] serialRateStrings = {
113-
"300", "1200", "2400", "4800", "9600",
114-
"19200", "38400", "57600", "115200", "230400", "250000"
115-
};
116-
117112
serialRates = new JComboBox();
118113
for (String rate : serialRateStrings) {
119114
serialRates.addItem(rate + " " + _("baud"));

Diff for: app/src/processing/app/SerialPlotter.java

-5
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,6 @@ protected void onCreateWindow(Container mainPane) {
163163
JPanel pane = new JPanel();
164164
pane.setLayout(new BoxLayout(pane, BoxLayout.X_AXIS));
165165
pane.setBorder(new EmptyBorder(4, 4, 4, 4));
166-
167-
String[] serialRateStrings = {
168-
"300","1200","2400","4800","9600","14400",
169-
"19200","28800","38400","57600","115200"
170-
};
171166

172167
serialRates = new JComboBox();
173168
for (int i = 0; i < serialRateStrings.length; i++)

0 commit comments

Comments
 (0)