mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
Remove interfering debug information
This commit is contained in:
parent
5803407209
commit
b82f098383
@ -154,9 +154,9 @@ TasAutoMutex::TasAutoMutex(SemaphoreHandle_t*mutex, const char *name, int maxWai
|
|||||||
this->name = name;
|
this->name = name;
|
||||||
if (take) {
|
if (take) {
|
||||||
this->taken = xSemaphoreTakeRecursive(this->mutex, this->maxWait);
|
this->taken = xSemaphoreTakeRecursive(this->mutex, this->maxWait);
|
||||||
if (!this->taken){
|
// if (!this->taken){
|
||||||
Serial.printf("\r\nMutexfail %s\r\n", this->name);
|
// Serial.printf("\r\nMutexfail %s\r\n", this->name);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this->mutex = (SemaphoreHandle_t)nullptr;
|
this->mutex = (SemaphoreHandle_t)nullptr;
|
||||||
@ -192,9 +192,9 @@ void TasAutoMutex::take() {
|
|||||||
if (this->mutex) {
|
if (this->mutex) {
|
||||||
if (!this->taken) {
|
if (!this->taken) {
|
||||||
this->taken = xSemaphoreTakeRecursive(this->mutex, this->maxWait);
|
this->taken = xSemaphoreTakeRecursive(this->mutex, this->maxWait);
|
||||||
if (!this->taken){
|
// if (!this->taken){
|
||||||
Serial.printf("\r\nMutexfail %s\r\n", this->name);
|
// Serial.printf("\r\nMutexfail %s\r\n", this->name);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user