mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-20 16:56:17 +00:00
Update Power.cpp
added comments and 2 extra defines to disable and swap detection direction
This commit is contained in:
parent
ecf87fd184
commit
233b6089f6
@ -424,8 +424,8 @@ class AnalogBatteryLevel : public HasBatteryLevel
|
|||||||
return getINACurrent() < 0;
|
return getINACurrent() < 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
return isBatteryConnect() && isVbusIn();
|
return isBatteryConnect() && isVbusIn();
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user