Skip to content

Commit

Permalink
[Fix] Turnout2Func interpretiert die Werte jetzt richtig
Browse files Browse the repository at this point in the history
  • Loading branch information
littleyoda committed May 11, 2019
1 parent 54fbe13 commit a2f97d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion decoder/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,10 @@ void Config::parseIn(Controller* controller, Webserver* web, String n) {
int *array = new int[arraysize];
int pos = 0;
while (child != -1) {
child = parser->getNextSiblings(child);
Serial.println("Turnout2Value (" + parser->getString(child) + "/" + parser->getString(parser->getFirstChild(child)) + ")");
array[pos++] = parser->getString(child).toInt();
array[pos++] = parser->getString(parser->getFirstChild(child)).toInt();
child = parser->getNextSiblings(child);
}

ISettings* a = getSettingById(controller, conn);
Expand Down

0 comments on commit a2f97d5

Please sign in to comment.