Bump latest version, and use >= in check

This commit is contained in:
Sandeep Mistry 2018-11-19 13:10:30 -05:00
parent 207e05e143
commit 7798c812c4
2 changed files with 2 additions and 2 deletions

View file

@ -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");

View file

@ -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>