From 30c7d92bfd9c30af761f02b707664af37dcce983 Mon Sep 17 00:00:00 2001 From: Yerolling <2911328695@qq.com> Date: Tue, 24 May 2022 21:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86PrintState=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E4=B8=AD=E8=AE=A1=E6=95=B0=E6=95=B0=E7=BB=84=E7=9A=84?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bus_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bus_io.c b/src/bus_io.c index 364c1f2..d17ffcc 100644 --- a/src/bus_io.c +++ b/src/bus_io.c @@ -153,7 +153,7 @@ void PrintState(char *str) int count, flag=1; //flag用于标记,为使下面第一个循环能够进入 rail_node_t *p = NULL; - char target[20], clockwise[20], counterclockwise[20]; + char target[25], clockwise[25], counterclockwise[25]; for (count = 0, p = rails; flag==1 || p != NULL; p = p->next_node, count++) {