Skip to content
Permalink
Browse files

trying to reduce confusion

  • Loading branch information
rusefillc committed Jul 6, 2019
1 parent fecf83e commit 56cb9b25a1fedcabf9d8d4faf205241ce2efc4eb
@@ -46,7 +46,7 @@
* @see EngineSnifferPanel
*/
public class Launcher {
public static final int CONSOLE_VERSION = 20190705;
public static final int CONSOLE_VERSION = 20190706;
public static final boolean SHOW_STIMULATOR = false;
public static final String INPUT_FILES_PATH = "..";
private static final String TAB_INDEX = "main_tab";
@@ -129,10 +129,10 @@ public void actionPerformed(ActionEvent e) {
if (FileLog.isWindows()) {
realHardwarePanel.add(new HorizontalLine());
// for F7 builds we just build one file at the moment
realHardwarePanel.add(new FirmwareFlasher(FirmwareFlasher.IMAGE_FILE, "Program Firmware").getButton());
realHardwarePanel.add(new FirmwareFlasher(FirmwareFlasher.IMAGE_FILE, "Program Firmware", "Default firmware version for most users").getButton());
if (new File(FirmwareFlasher.IMAGE_NO_ASSERTS_FILE).exists()) {
// 407 build
realHardwarePanel.add(new FirmwareFlasher(FirmwareFlasher.IMAGE_NO_ASSERTS_FILE, "Program Firmware/NoAsserts").getButton());
realHardwarePanel.add(new FirmwareFlasher(FirmwareFlasher.IMAGE_NO_ASSERTS_FILE, "Program Firmware/NoAsserts", "Please only use this version if you know that you need this version").getButton());
}
realHardwarePanel.add(new EraseChip().getButton());
}
@@ -24,9 +24,10 @@
private final JButton button;
private String fileName;

public FirmwareFlasher(String fileName, String buttonTest) {
public FirmwareFlasher(String fileName, String buttonTest, String tooltip) {
this.fileName = fileName;
button = new JButton(buttonTest);
button.setToolTipText(tooltip);
button.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent event) {

0 comments on commit 56cb9b2

Please sign in to comment.
You can’t perform that action at this time.