16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 10:19:19 +02:00

(uart, commands) add possibility to set radio channel and volume via uart

This commit is contained in:
Marcin Nowak
2022-09-29 10:46:00 +02:00
committed by Milek7
parent 041ebcf0b9
commit 412800ea23
8 changed files with 65 additions and 13 deletions

View File

@@ -753,7 +753,9 @@ global_settings::ConfigParse(cParser &Parser) {
{"main", &uart_conf.mainenable},
{"scnd", &uart_conf.scndenable},
{"train", &uart_conf.trainenable},
{"local", &uart_conf.localenable}
{"local", &uart_conf.localenable},
{"radiovolume", &uart_conf.radiovolumeenable},
{"radiochannel", &uart_conf.radiochannelenable}
};
if(firstToken.find('|') != std::string::npos || features_map.count(firstToken)) {