Ports: Print the port name when a port is used but not attached to anything.
This commit is contained in:
parent
d368344092
commit
bfec60ad3a
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ void
|
||||||
PioDevice::init()
|
PioDevice::init()
|
||||||
{
|
{
|
||||||
if (!pioPort)
|
if (!pioPort)
|
||||||
panic("Pio port not connected to anything!");
|
panic("Pio port %s not connected to anything!", name());
|
||||||
pioPort->sendStatusChange(Port::RangeChange);
|
pioPort->sendStatusChange(Port::RangeChange);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue