rename new led attribute 'label-pos'

This commit is contained in:
2024-12-01 13:16:08 -06:00
committed by Celtic Minstrel
parent 8f531a3145
commit 3bd9154412
4 changed files with 5 additions and 5 deletions

View File

@@ -155,7 +155,7 @@ bool cLed::parseAttribute(ticpp::Attribute& attr, std::string tagName, std::stri
else if(val == "off") setState(led_off);
else throw xBadVal(tagName, attr.Name(), val, attr.Row(), attr.Column(), fname);
return true;
}else if(attr.Name() == "text-side"){
}else if(attr.Name() == "label-pos"){
textOnRight = (attr.Value() == "right");
return true;
}