machine command tweak

This commit is contained in:
Kevin Santo Cappuccio 2024-02-16 10:19:36 -08:00
parent aa6590a1fe
commit ded4f57062

View File

@ -134,11 +134,10 @@ void getUnconnectedPaths(void)
{ {
if (numberOfUnconnectablePaths == 0) if (numberOfUnconnectablePaths == 0)
{ {
Serial.println("::unconnectedpaths-begin");
Serial.println("::unconnectedpaths-end");
return; return;
} }
Serial.println("::unconnectedpaths-begin");
Serial.print("::unconnectedpaths["); Serial.print("::unconnectedpaths[");
for (int i = 0; i < numberOfUnconnectablePaths; i++) for (int i = 0; i < numberOfUnconnectablePaths; i++)
{ {
@ -152,7 +151,7 @@ void getUnconnectedPaths(void)
printNodeOrName(unconnectablePaths[i][1]); printNodeOrName(unconnectablePaths[i][1]);
} }
Serial.println("]"); Serial.println("]");
Serial.println("::unconnectedpaths-end");
} }
void machineNetlistToNetstruct(void) void machineNetlistToNetstruct(void)