custom min/max have priority #1703

This commit is contained in:
MichaelDvP
2024-04-21 10:36:36 +02:00
parent 037175f7b0
commit ed317902ca

View File

@@ -742,6 +742,7 @@ void EMSdevice::set_minmax(const void * value_p, int16_t min, uint32_t max) {
if (dv.value_p == value_p) {
dv.min = min;
dv.max = max;
dv.set_custom_minmax(); // custom priority
return;
}
}