[Cleanup] Reduce bin size on minimal builds.

This commit is contained in:
TD-er
2023-03-03 17:39:34 +01:00
parent 185d207db0
commit de51d70b04
27 changed files with 333 additions and 380 deletions
+5 -2
View File
@@ -129,10 +129,13 @@ void pluginWebformShowValue(taskIndex_t taskIndex,
if (varNr > 0) {
addHtmlDiv(F("div_br"));
}
String postfix(taskIndex);
postfix += '_';
postfix += varNr;
pluginWebformShowValue(
label, concat(F("valuename_"), static_cast<int>(taskIndex)) + '_' + varNr,
value, concat(F("value_"), static_cast<int>(taskIndex)) + '_' + varNr,
label, concat(F("valuename_"), postfix),
value, concat(F("value_"), postfix),
addTrailingBreak);
}