dev里的FCFSQuery函数
This commit is contained in:
parent
2c1ee94af7
commit
4e6e12a6a2
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user