make sure to use the new version comparison for the max conditions as well
This commit is contained in:
parent
89d5e40d45
commit
9f3b48c277
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue