debug print

This commit is contained in:
James Cherry 2020-05-25 16:01:55 -07:00
parent b49b957ad0
commit c2ba9fa534
1 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ Power::findInputInternalPower(const Pin *pin,
float port_internal = energy * duty * activity.activity();
debugPrint7(debug_, "power", 2, " %3s %6s %.2f %.2f %9.2e %9.2e %s\n",
port->name(),
when->asString(),
when ? when->asString() : "",
activity.activity() * 1e-9,
duty,
energy,