From 90fe3da695ac78d45fc926340ddd1efab28862a8 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Thu, 30 Nov 2023 11:40:46 +0800 Subject: [PATCH] fl16: Detect OS even when it's not requesting BOS Windows resuming from hibernate/S4 doesn't do that... Signed-off-by: Daniel Schaefer --- quantum/os_detection.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quantum/os_detection.c b/quantum/os_detection.c index 14d97493fb..de31e19a79 100644 --- a/quantum/os_detection.c +++ b/quantum/os_detection.c @@ -54,10 +54,10 @@ void make_guess(void) { //if (setups_data.count < 3 && setups_data.cnt_zoid != 0) { // return; //} - if (setups_data.cnt_zoid == 0) { - detected_os = OS_UEFI; - return; - } + //if (setups_data.cnt_zoid == 0) { + // detected_os = OS_UEFI; + // return; + //} if (setups_data.cnt_ff >= 2 && setups_data.cnt_04 >= 1) { detected_os = OS_WINDOWS; return;