Create dummy devices, part I

This commit is contained in:
2025-12-22 12:39:38 +01:00
parent e17a2d6d09
commit 4bd8f30a09
5 changed files with 51 additions and 18 deletions

View File

@@ -156,11 +156,12 @@ retry:
}
if ((err = CanReceive(0, &msg, 1)) > 0)
{
{
if (--retry && (msg.Id != BIB || msg.MsgLen != 4 || msg.MsgData[1] != reg))
goto retry;
if (!retry) {
if (!retry)
{
printf("error: no response from node %s to %s" _NL, getNodeName(receipient), getNodeName(BIB));
return 0;
}