mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-10-26 22:10:45 +00:00
Merge pull request #5672 from goodprogrammist/bugfix/clearTask-OLD_TaskDeviceID-overflow
[Settings] Fix clearTask() overwriting pins of other tasks
This commit is contained in:
1 file changed
-1
@@ -793,7 +793,6 @@ void SettingsStruct_tmpl<N_TASKS>::clearTask(taskIndex_t task) {
|
|||||||
TaskDeviceSendData[i][task] = false;
|
TaskDeviceSendData[i][task] = false;
|
||||||
}
|
}
|
||||||
TaskDeviceNumber[task] = 0u; //.setInvalid();
|
TaskDeviceNumber[task] = 0u; //.setInvalid();
|
||||||
OLD_TaskDeviceID[task] = 0u; // UNUSED: this can be removed
|
|
||||||
TaskDevicePin1[task] = -1;
|
TaskDevicePin1[task] = -1;
|
||||||
TaskDevicePin2[task] = -1;
|
TaskDevicePin2[task] = -1;
|
||||||
TaskDevicePin3[task] = -1;
|
TaskDevicePin3[task] = -1;
|
||||||
|
|||||||
Reference in new issue
Block a user