修复了打印counterclockwise请求出错的问题

This commit is contained in:
jackfiled 2022-05-25 10:08:17 +08:00
parent e69d4ae1be
commit a79e68d02b

View File

@ -175,7 +175,7 @@ void PrintState(char *str)
{ {
clockwise[i] = '1'; clockwise[i] = '1';
} }
else if(t->time==BUS_COUNTER_CLOCK_WISE) else if(t->type==BUS_COUNTER_CLOCK_WISE)
{ {
counterclockwise[i] = '1'; counterclockwise[i] = '1';
} }