dev里的FCFSQuery函数

This commit is contained in:
nvhaizi1 2022-05-29 13:13:46 +08:00
parent 2c1ee94af7
commit 4e6e12a6a2

View File

@ -13,5 +13,14 @@ int FCFSDirection()
bus_query_t *FCFSQuery()
{
bus_query_t *p = queries;
if (the_bus->rail_node_pos == p->node)
{
return p;
}
else
{
queries = queries->next_node;
return NULL;
}
}