mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Move more settings to common-image
This commit is contained in:
parent
6253cd678b
commit
9031d3e5cf
7 changed files with 76 additions and 68 deletions
|
@ -515,6 +515,15 @@ void init_webserver() {
|
|||
} else if (p->name() == "CANFREQ") {
|
||||
auto type = atoi(p->value().c_str());
|
||||
settings.saveUInt("CANFREQ", type);
|
||||
} else if (p->name() == "PRECHGMS") {
|
||||
auto type = atoi(p->value().c_str());
|
||||
settings.saveUInt("PRECHGMS", type);
|
||||
} else if (p->name() == "PWMFREQ") {
|
||||
auto type = atoi(p->value().c_str());
|
||||
settings.saveUInt("PWMFREQ", type);
|
||||
} else if (p->name() == "PWMHOLD") {
|
||||
auto type = atoi(p->value().c_str());
|
||||
settings.saveUInt("PWMHOLD", type);
|
||||
} else if (p->name() == "GTWCOUNTRY") {
|
||||
auto type = atoi(p->value().c_str());
|
||||
settings.saveUInt("GTWCOUNTRY", type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue