Update ControllerCore.cpp

This commit is contained in:
sprado
2016-10-17 23:50:21 +02:00
committed by GitHub Enterprise
parent 85e0e2a43f
commit a8bd6eaecd

View File

@@ -139,7 +139,7 @@ void ControllerCore::triggerRefresh(tlm::tlm_generic_payload& payload)
powerDownManager->wakeUpForRefresh(bank, time); //expects PDNA and PDNP to exit without delay
bool pdnpToSrefTransition = false;
if (config.PowerDownMode == EPowerDownMode::Staggered) {
pdnpToSrefTransition = state->getLastCommand(Command::PDNPX,bank).getStart() >= time;
pdnpToSrefTransition = state->getLastCommand(Command::PDNPX,bank).getStart() >= time;
}
if (pdnpToSrefTransition) {
powerDownManager->sleep(bank,time);