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
|
||||
Serial.println();
|
||||
if (fv == latestFv) {
|
||||
if (fv >= latestFv) {
|
||||
Serial.println("Check result: PASSED");
|
||||
} else {
|
||||
Serial.println("Check result: NOT PASSED");
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
#ifndef WiFi_h
|
||||
#define WiFi_h
|
||||
|
||||
#define WIFI_FIRMWARE_LATEST_VERSION "1.2.0"
|
||||
#define WIFI_FIRMWARE_LATEST_VERSION "1.2.1"
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue