refactor: increased the max value of dt for pid to 1800 sec

This commit is contained in:
Yurii
2024-10-21 21:34:53 +03:00
parent 0eea1b8121
commit 87b222e7bc
3 changed files with 3 additions and 3 deletions

View File

@@ -1084,7 +1084,7 @@ bool jsonToSettings(const JsonVariantConst src, Settings& dst, bool safe = false
if (!src["pid"]["dt"].isNull()) {
unsigned short value = src["pid"]["dt"].as<unsigned short>();
if (value >= 30 && value <= 600 && value != dst.pid.dt) {
if (value >= 30 && value <= 1800 && value != dst.pid.dt) {
dst.pid.dt = value;
changed = true;
}