mirror of https://github.com/acidanthera/audk.git
Add missing break and add comment to non-necessary break.
Signed-off-by: Li Elvin <elvin.li@intel.com> Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com> Reviewed-by: Dong Eric <eric.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13642 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4ccd9214a4
commit
bd07919cc8
|
@ -1457,6 +1457,7 @@ UnicodeToEfiKey (
|
|||
if (TerminalDevice->TerminalType == PCANSITYPE) {
|
||||
Key.ScanCode = SCAN_F10;
|
||||
}
|
||||
break;
|
||||
case '?':
|
||||
if (TerminalDevice->TerminalType == VT100TYPE) {
|
||||
Key.ScanCode = SCAN_PAGE_UP;
|
||||
|
@ -1471,6 +1472,7 @@ UnicodeToEfiKey (
|
|||
if (TerminalDevice->TerminalType == PCANSITYPE) {
|
||||
Key.ScanCode = SCAN_F9;
|
||||
}
|
||||
break;
|
||||
case '/':
|
||||
if (TerminalDevice->TerminalType == VT100TYPE) {
|
||||
Key.ScanCode = SCAN_PAGE_DOWN;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/** @file
|
||||
DevicePathFromText protocol as defined in the UEFI 2.0 specification.
|
||||
|
||||
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -2006,6 +2006,7 @@ DevPathFromTextUart (
|
|||
|
||||
case L'S':
|
||||
Uart->Parity = 5;
|
||||
break;
|
||||
|
||||
default:
|
||||
Uart->Parity = 0xff;
|
||||
|
|
|
@ -767,7 +767,9 @@ UiAddMenuOption (
|
|||
//
|
||||
MenuOption->GrayOut = TRUE;
|
||||
}
|
||||
|
||||
//
|
||||
// break skipped on purpose
|
||||
//
|
||||
default:
|
||||
MenuOption->IsQuestion = FALSE;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue