ArmPkg/TimerDxe: Fixed the reloading of the period

Prior to this change the period was restored to the default period.
This change restores the latest 'set period'.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15922 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Olivier Martin 2014-08-27 10:12:55 +00:00 committed by oliviermartin
parent 33292af5f1
commit 09c1b24c2f
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ TimerInterruptHandler (
}
// Reload the Timer
TimerDriverSetTimerPeriod (&gTimer, FixedPcdGet32(PcdTimerPeriod));
TimerDriverSetTimerPeriod (&gTimer, mTimerPeriod);
}
// Enable timer interrupts