Bump latest version, and use >= in check
This commit is contained in:
parent
207e05e143
commit
7798c812c4
2 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ void setup() {
|
||||||
|
|
||||||
// Check if the latest version is installed
|
// Check if the latest version is installed
|
||||||
Serial.println();
|
Serial.println();
|
||||||
if (fv == latestFv) {
|
if (fv >= latestFv) {
|
||||||
Serial.println("Check result: PASSED");
|
Serial.println("Check result: PASSED");
|
||||||
} else {
|
} else {
|
||||||
Serial.println("Check result: NOT PASSED");
|
Serial.println("Check result: NOT PASSED");
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef WiFi_h
|
#ifndef WiFi_h
|
||||||
#define WiFi_h
|
#define WiFi_h
|
||||||
|
|
||||||
#define WIFI_FIRMWARE_LATEST_VERSION "1.2.0"
|
#define WIFI_FIRMWARE_LATEST_VERSION "1.2.1"
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue