Ports: Print the port name when a port is used but not attached to anything.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user