mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
33292af5f1
commit
09c1b24c2f
@ -293,7 +293,7 @@ TimerInterruptHandler (
|
||||
}
|
||||
|
||||
// Reload the Timer
|
||||
TimerDriverSetTimerPeriod (&gTimer, FixedPcdGet32(PcdTimerPeriod));
|
||||
TimerDriverSetTimerPeriod (&gTimer, mTimerPeriod);
|
||||
}
|
||||
|
||||
// Enable timer interrupts
|
||||
|
Loading…
x
Reference in New Issue
Block a user