Skip to content

Commit afcb171

Browse files
committed
Fixing bug in board id recognition
1 parent 87b9082 commit afcb171

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

gui/packaging/config/config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Installer>
33
<Name>PICO SST39SF0x0 Programmer</Name>
4-
<Version>1.3.0</Version>
4+
<Version>1.3.1</Version>
55
<Title>PICO SST39SF0x0 Programmer Installer</Title>
66
<Publisher>philips-p2000t.nl</Publisher>
77
<StartMenuDir>philips-p2000t.nl</StartMenuDir>

gui/packaging/packages/com.vendor.product/meta/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Package>
33
<DisplayName>Core</DisplayName>
44
<Description>Install PICO SST39SF0x0 Programmer.</Description>
5-
<Version>1.3.0</Version>
5+
<Version>1.3.1</Version>
66
<ReleaseDate>2023-11-12</ReleaseDate>
77
<Default>true</Default>
88
<Script>installscript.qs</Script>

gui/src/config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define _CONFIG_H
2323

2424
#define PROGRAM_NAME "PICO SST39sf0x0 Programmer"
25-
#define PROGRAM_VERSION "1.3.0"
25+
#define PROGRAM_VERSION "1.3.1"
2626

2727
#define UNUSED(x) (void)(x)
2828

gui/src/mainwindow.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -481,12 +481,12 @@ void MainWindow::select_com_port() {
481481

482482
int versionint = (major * 1000000) + (minor * 1000) + patch;
483483

484-
if(versionint < (1 * 1000000) + (1 * 1000) + 0) {
484+
if(versionint < (1 * 1000000) + (3 * 1000) + 0) {
485485
QMessageBox msg_box;
486486
msg_box.setIcon(QMessageBox::Warning);
487487
msg_box.setText(tr(
488488
"Your board firmware is outdated. Please update your board "
489-
"to version 1.1.0 or higher. Visit: "
489+
"to version 1.3.0 or higher. Visit: "
490490
"<a href=\"https://github.com/ifilot/pico-sst39sf0x0-programmer\">https://github.com/ifilot/pico-sst39sf0x0-programmer</a>."
491491
));
492492
msg_box.setWindowIcon(QIcon(":/assets/icon/eeprom_icon.ico"));

0 commit comments

Comments
 (0)