mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-10-26 22:10:45 +00:00
Merge remote-tracking branch 'letscontrolit/mega' into bugfix/load_1wire_page_after_save
This commit is contained in:
commit
3533142af4
2 files changed
+2
-1
No files matched your search
@@ -402,7 +402,7 @@ void removeExtraNewLine(String& line) {
|
||||
}
|
||||
|
||||
void removeChar(String& line, char character) {
|
||||
line.replace(character, ' ');
|
||||
line.replace(String(character), EMPTY_STRING);
|
||||
}
|
||||
|
||||
void addNewLine(String& line) {
|
||||
|
||||
@@ -933,6 +933,7 @@ void transformValue(
|
||||
// Return INVALID_TASK_INDEX when not found, else return taskIndex
|
||||
taskIndex_t findTaskIndexByName(String deviceName, bool allowDisabled)
|
||||
{
|
||||
deviceName.trim();
|
||||
deviceName.toLowerCase();
|
||||
// cache this, since LoadTaskSettings does take some time.
|
||||
auto result = Cache.taskIndexName.find(deviceName);
|
||||
|
||||
Reference in new issue
Block a user