Update Power.cpp

added comments and 2 extra defines to disable and swap detection direction
This commit is contained in:
nebman 2024-11-02 01:17:27 +01:00 committed by Tom Fifield
parent ecf87fd184
commit 233b6089f6

View File

@ -424,8 +424,8 @@ class AnalogBatteryLevel : public HasBatteryLevel
return getINACurrent() < 0;
#endif
}
#endif
return isBatteryConnect() && isVbusIn();
#endif
#endif
}