make sure to use the new version comparison for the max conditions as well

This commit is contained in:
csawatzky 2026-01-19 12:06:11 -06:00
parent 89d5e40d45
commit 9f3b48c277

View file

@ -176,7 +176,7 @@ export class Device {
case pond.DevicePlatform.DEVICE_PLATFORM_V2_WIFI_BLUE: case pond.DevicePlatform.DEVICE_PLATFORM_V2_WIFI_BLUE:
case pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_BLUE: case pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_BLUE:
case pond.DevicePlatform.DEVICE_PLATFORM_V2_ETHERNET_BLUE: case pond.DevicePlatform.DEVICE_PLATFORM_V2_ETHERNET_BLUE:
max = this.status.firmwareVersion >= "2.1.9" ? 4 : 2; max = this.versionComparison(this.status.firmwareVersion, "2.1.9") ? 4 : 2;
} }
return max return max
} }