tarfeef101 пре 6 година
родитељ
комит
8c9cc3a600
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      kern/synchprobs/traffic_synch.c

+ 1 - 0
kern/synchprobs/traffic_synch.c

@@ -217,6 +217,7 @@ void intersection_before_entry(Direction origin, Direction destination)
     
     while (temp)
     {
+      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))))
       {
         temp = temp->next;