Skip to content

Commit b8390b1

Browse files
committed
Allow EVK to have zero WiFi count for firmware update
1 parent d95eefe commit b8390b1

File tree

1 file changed

+2
-2
lines changed
  • Firmware/RTK_Everywhere/AP-Config/src

1 file changed

+2
-2
lines changed

Firmware/RTK_Everywhere/AP-Config/src/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ function networkCount() {
19471947
}
19481948

19491949
function checkNewFirmware() {
1950-
if (networkCount() == 0) {
1950+
if ((platformPrefix != "EVK") && (networkCount() == 0)) {
19511951
showMsgError('firmwareCheckNewMsg', "WiFi list is empty");
19521952
return;
19531953
}
@@ -2007,7 +2007,7 @@ function newFirmwareVersion(firmwareVersion) {
20072007

20082008
function getNewFirmware() {
20092009

2010-
if (networkCount() == 0) {
2010+
if ((platformPrefix != "EVK") && (networkCount() == 0)) {
20112011
showMsgError('firmwareCheckNewMsg', "WiFi list is empty");
20122012
hide("divGetNewFirmware");
20132013
ge("btnCheckNewFirmware").disabled = false;

0 commit comments

Comments
 (0)