mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 22:57:50 +03:00
style: fix clang-format issue in Battery.h
This commit is contained in:
parent
0f29de49f8
commit
b8b55a68af
@ -8,6 +8,4 @@ static BatteryMonitor battery(BAT_GPIO0);
|
||||
|
||||
// Returns true when USB is connected (device is charging)
|
||||
// Uses GPIO20 (U0RXD) which reads HIGH when USB is connected
|
||||
inline bool isCharging() {
|
||||
return digitalRead(20) == HIGH;
|
||||
}
|
||||
inline bool isCharging() { return digitalRead(20) == HIGH; }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user