处理了FCFSQuery函数中的冲突
This commit is contained in:
commit
f07233c1e6
|
@ -46,6 +46,7 @@ int FCFSDirection()
|
||||||
|
|
||||||
bus_query_t *FCFSQuery()
|
bus_query_t *FCFSQuery()
|
||||||
{
|
{
|
||||||
|
<<<<<<< HEAD
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,4 +78,16 @@ int SCANDirection(bus_query_t *target_query)
|
||||||
bus_query_t *SCANBTWQuery()
|
bus_query_t *SCANBTWQuery()
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
|
=======
|
||||||
|
bus_query_t *p = queries;
|
||||||
|
if (the_bus->rail_node_pos == p->node)
|
||||||
|
{
|
||||||
|
return p;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
queries = queries->next_node;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
>>>>>>> dev
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user