mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +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;
|
||||
if (take) {
|
||||
this->taken = xSemaphoreTakeRecursive(this->mutex, this->maxWait);
|
||||
if (!this->taken){
|
||||
Serial.printf("\r\nMutexfail %s\r\n", this->name);
|
||||
}
|
||||
// if (!this->taken){
|
||||
// Serial.printf("\r\nMutexfail %s\r\n", this->name);
|
||||
// }
|
||||
}
|
||||
} else {
|
||||
this->mutex = (SemaphoreHandle_t)nullptr;
|
||||
@ -192,9 +192,9 @@ void TasAutoMutex::take() {
|
||||
if (this->mutex) {
|
||||
if (!this->taken) {
|
||||
this->taken = xSemaphoreTakeRecursive(this->mutex, this->maxWait);
|
||||
if (!this->taken){
|
||||
Serial.printf("\r\nMutexfail %s\r\n", this->name);
|
||||
}
|
||||
// if (!this->taken){
|
||||
// Serial.printf("\r\nMutexfail %s\r\n", this->name);
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user