mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/term/at_keyboard.c (set_scancodes): Fix preprocessor
conditionals.
This commit is contained in:
1 parent
055dc23978
commit
53072f9b96
2 files changed
+8
-2
No files matched your search
@@ -332,10 +332,10 @@ set_scancodes (void)
|
||||
return;
|
||||
}
|
||||
|
||||
#if !(defined (GRUB_MACHINE_MIPS_LOONGSON) || defined (GRUB_MACHINE_QEMU))
|
||||
#if !(defined (GRUB_MACHINE_MIPS_LOONGSON) || defined (GRUB_MACHINE_QEMU) || defined (GRUB_MACHINE_MIPS_QEMU_MIPS))
|
||||
current_set = 1;
|
||||
return;
|
||||
#endif
|
||||
#else
|
||||
|
||||
grub_keyboard_controller_write (grub_keyboard_controller_orig
|
||||
& ~KEYBOARD_AT_TRANSLATE);
|
||||
@@ -352,6 +352,7 @@ set_scancodes (void)
|
||||
if (current_set == 1)
|
||||
return;
|
||||
grub_printf ("No supported scancode set found\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in new issue
Block a user