修复了ReadInput函数中的系列错误

ReadInput函数测试通过
This commit is contained in:
2022-05-20 08:52:58 +08:00
parent 635ea8bdfa
commit 6095d0849b
6 changed files with 34 additions and 16 deletions

View File

@@ -24,7 +24,7 @@ typedef struct bus bus_t;
/**
* 全局的公交车变量
*/
extern bus_t the_bus;
extern bus_t *the_bus;
/**
* 每个时刻使公交车前进

View File

@@ -6,6 +6,9 @@
#define AUTO_PILOT_BUS_BUS_IO_H
#include "rail.h"
#include "query.h"
#include "define.h"
#include "string.h"
#include "stdio.h"
/**
* 读取配置文件,创建轨道链表,同时读取需要使用的策略