From 685d569a087409b4449c93bda3eeeef1a31aab57 Mon Sep 17 00:00:00 2001 From: Bobby Dilley Date: Tue, 28 Jan 2025 10:16:06 +0000 Subject: [PATCH] Remove not needed message --- src/lindbergh/securityboard.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lindbergh/securityboard.c b/src/lindbergh/securityboard.c index 08c9ec4..f91ab48 100644 --- a/src/lindbergh/securityboard.c +++ b/src/lindbergh/securityboard.c @@ -2,6 +2,7 @@ #include "securityboard.h" #include "log.h" +#include "config.h" #define SECURITY_BOARD_FRONT_PANEL 0x38 #define SECURITY_BOARD_FRONT_PANEL_NON_ROOT 0x1038 @@ -51,8 +52,10 @@ int securityBoardSetDipResolution(int width, int height) setResolutionDips(1, 1, 0); else if (width == 1360 && height == 768) setResolutionDips(1, 1, 1); - else - log_warn("Resolution not compatible, using 640 x 480\n"); + else { + if(getConfig()->showDebugMessages) + log_warn("Resolution not original, setting dips to 640 x 480.\n"); + } return 0; }