Update Power.cpp

fix disabled case
This commit is contained in:
nebman 2024-11-02 01:37:07 +01:00 committed by Tom Fifield
parent 12cd9e1720
commit 06ebcf0ffc

View File

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