tarfeef101 hace 6 años
padre
commit
511074a0b8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      kern/synchprobs/traffic_synch.c

+ 1 - 0
kern/synchprobs/traffic_synch.c

@@ -220,6 +220,7 @@ void intersection_before_entry(Direction origin, Direction destination)
       kprintf("New o: %d, Comp o: %d, New d: %d, Comp d: %d\n", new->origin, temp->origin, new->dest, temp->dest);
       if (temp->origin == new->origin || (temp->origin == new->dest && temp->dest == new->origin) || (temp->dest != new->dest && (rightturn(new) || rightturn(temp))))
       {
+        kprintf("Everything is fine, continue\n");
         temp = temp->next;
         continue;
       }