Ports: Print the port name when a port is used but not attached to anything.

This commit is contained in:
Gabe Black 2011-10-08 23:24:32 -07:00
parent d368344092
commit bfec60ad3a

View file

@ -71,7 +71,7 @@ void
PioDevice::init()
{
if (!pioPort)
panic("Pio port not connected to anything!");
panic("Pio port %s not connected to anything!", name());
pioPort->sendStatusChange(Port::RangeChange);
}