diff --git a/src/bus_io.c b/src/bus_io.c index e87c575..9e95e61 100644 --- a/src/bus_io.c +++ b/src/bus_io.c @@ -175,7 +175,7 @@ void PrintState(char *str) { clockwise[i] = '1'; } - else if(t->time==BUS_COUNTER_CLOCK_WISE) + else if(t->type==BUS_COUNTER_CLOCK_WISE) { counterclockwise[i] = '1'; }