Skip to content

Commit 66795a4

Browse files
committed
Change check firmware version comparision from == to >=
1 parent e85c35d commit 66795a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/CheckWifi101FirmwareVersion/CheckWifi101FirmwareVersion.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void setup() {
5151

5252
// Check if the latest version is installed
5353
Serial.println();
54-
if (fv == latestFv) {
54+
if (fv >= latestFv) {
5555
Serial.println("Check result: PASSED");
5656
} else {
5757
Serial.println("Check result: NOT PASSED");

0 commit comments

Comments
 (0)