1
0
Fork 0

Merge branch 'fixes' into feature

This commit is contained in:
arch1t3cht 2022-08-16 15:51:37 +02:00
commit 64ecc490be
1 changed files with 4 additions and 0 deletions

View File

@ -284,6 +284,10 @@ namespace Automation4 {
max = DBL_MAX;
min = -DBL_MAX;
}
if (step != 0.0) {
min = min == -DBL_MAX ? 0.0 : min;
max = max == DBL_MAX ? 100.0 : max;
}
}
bool CanSerialiseValue() const override { return true; }