Merge pull request #1 from discip/patch-2

Update Power.cpp
This commit is contained in:
discip
2022-05-04 00:15:59 +02:00
committed by GitHub

View File

@@ -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