diff options
Diffstat (limited to 'UefiMonitorTest/UefiMonitorTest.c')
-rw-r--r-- | UefiMonitorTest/UefiMonitorTest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/UefiMonitorTest/UefiMonitorTest.c b/UefiMonitorTest/UefiMonitorTest.c index 44b9ae6..c7034f0 100644 --- a/UefiMonitorTest/UefiMonitorTest.c +++ b/UefiMonitorTest/UefiMonitorTest.c @@ -12,7 +12,7 @@ #include "MainMenu.h" STATIC CONST UMT_STATE_ACTIONS mStateActions[UMT_STATE_END] = { - { MainMenuInit, MainMenuDoit, MainMenuTip, MainMenuKeyRight, MainMenuKeyLeft } + { MainMenuInit, MainMenuDoit, MainMenuTip, MainMenuChangeValue } }; EFI_HII_HANDLE gUmtHiiHandle = NULL; @@ -152,11 +152,11 @@ HandleInput ( break; case SCAN_RIGHT: - Ctx->Actions->KeyRight (Ctx); + Ctx->Actions->ChangeValue (Ctx, +1); break; case SCAN_LEFT: - Ctx->Actions->KeyLeft (Ctx); + Ctx->Actions->ChangeValue (Ctx, -1); break; case SCAN_F1...SCAN_F11: |