Small change
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#include "../../../common/Utils.h"
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
#define FALSE !(TRUE)
|
||||
#define INITIAL_DISPLACEMENT FALSE
|
||||
|
||||
using namespace std;
|
||||
@@ -96,8 +96,13 @@ RGR::~RGR()
|
||||
{
|
||||
}
|
||||
|
||||
bool RGR::hasCollision(const ScheduledCommand __attribute__((unused)) &cmd)
|
||||
bool RGR::hasCollision(const ScheduledCommand &cmd)
|
||||
{
|
||||
Bank b = cmd.getBank();
|
||||
if (currentState[b] == ST_BURST) {
|
||||
// A burst due to postponed refreshes shall not be interrupted.
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user