We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9cba9d commit 992520cCopy full SHA for 992520c
src/main.rs
@@ -301,16 +301,11 @@ fn run() -> Result<()> {
301
force_boot_menu = true;
302
}
303
304
- BootloaderInterfaceTimeout::MenuHidden => {
+ BootloaderInterfaceTimeout::MenuHidden | BootloaderInterfaceTimeout::MenuDisabled => {
305
// Hide the boot menu by setting the timeout to zero.
306
menu_timeout = 0;
307
308
309
- BootloaderInterfaceTimeout::MenuDisabled => {
310
- // Disable the boot menu by setting the timeout to zero.
311
- menu_timeout = 0;
312
- }
313
-
314
BootloaderInterfaceTimeout::Timeout(timeout) => {
315
// Configure the timeout to the specified value.
316
menu_timeout = timeout;
0 commit comments