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