处理了FCFSQuery函数中的冲突

This commit is contained in:
nvhaizi1 2022-05-29 13:19:30 +08:00
commit f07233c1e6

View File

@ -46,6 +46,7 @@ int FCFSDirection()
bus_query_t *FCFSQuery()
{
<<<<<<< HEAD
return NULL;
}
@ -77,4 +78,16 @@ int SCANDirection(bus_query_t *target_query)
bus_query_t *SCANBTWQuery()
{
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
}