From a5975b3385a00c8385f7699151b6ccbc4c0acacd Mon Sep 17 00:00:00 2001 From: discip <53649486+discip@users.noreply.github.com> Date: Wed, 4 May 2022 00:13:46 +0200 Subject: [PATCH] Update Power.cpp --- source/Core/BSP/Miniware/Power.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/Core/BSP/Miniware/Power.cpp b/source/Core/BSP/Miniware/Power.cpp index b72d984b..84772772 100644 --- a/source/Core/BSP/Miniware/Power.cpp +++ b/source/Core/BSP/Miniware/Power.cpp @@ -22,11 +22,7 @@ void power_check() { } bool getIsPoweredByDCIN() { -#ifdef MODEL_TS80 - return false; -#endif - -#ifdef MODEL_TS80P +#if defined(MODEL_TS80) + defined(MODEL_TS80P) > 0 return false; #endif