Make CAN-FD frequence configurable

This commit is contained in:
Daniel Öster 2025-09-08 19:10:24 +03:00
parent bf7d10c825
commit 454a4565c0
5 changed files with 26 additions and 4 deletions

View file

@ -554,6 +554,9 @@ void init_webserver() {
} else if (p->name() == "CANFREQ") {
auto type = atoi(p->value().c_str());
settings.saveUInt("CANFREQ", type);
} else if (p->name() == "CANFDFREQ") {
auto type = atoi(p->value().c_str());
settings.saveUInt("CANFDFREQ", type);
} else if (p->name() == "PRECHGMS") {
auto type = atoi(p->value().c_str());
settings.saveUInt("PRECHGMS", type);