mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-09-18 11:28:04 +02:00
Safeguard serial error prints
This commit is contained in:
@@ -137,7 +137,7 @@ bool PowerScheduler::waitForCurrentAllowance(
|
||||
.requestedAt = initialTickCount,
|
||||
.grantedAt = xTaskGetTickCount(),
|
||||
.granted = true});
|
||||
ESP_LOGV(TAG, "%d mA granted to consumer %d after %d ms",
|
||||
ESP_LOGI(TAG, "%d mA granted to consumer %d with a delay of %d ms",
|
||||
neededCurrent, static_cast<int>(consumer),
|
||||
xTaskGetTickCount() - initialTickCount);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user