summaryrefslogtreecommitdiff
path: root/DuetPkg/Library/DuetBdsLib
diff options
context:
space:
mode:
Diffstat (limited to 'DuetPkg/Library/DuetBdsLib')
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
index e8404e5524..b7b58ac0d0 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
@@ -1246,7 +1246,7 @@ Returns:
//
// Check whether the user input after the duration time has expired
//
- OldTpl = BdsLibGetCurrentTpl();
+ OldTpl = EfiGetCurrentTpl();
gBS->RestoreTPL (TPL_APPLICATION);
gBS->WaitForEvent (1, &UserInputDurationTime, &Index);
gBS->CloseEvent (UserInputDurationTime);