Safeguard serial error prints

This commit is contained in:
2025-02-16 13:08:25 +01:00
parent b410338109
commit a48dd7c9dd
7 changed files with 31 additions and 10 deletions

View File

@@ -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;