diff options
author | Daniel Flanagan <daniel@lytedev.io> | 2019-10-31 11:39:12 -0500 |
---|---|---|
committer | Daniel Flanagan <daniel@lytedev.io> | 2019-10-31 11:39:12 -0500 |
commit | dd33444f7eace81115308eadb568020470c48b2b (patch) | |
tree | b13c2a7f17cc64458016d396829e95ef5cea9294 /openbsd | |
parent | 28840683cfc5d48307b9b0f382f55f8c84d6a0c4 (diff) |
Clean up existing whitespace
Diffstat (limited to 'openbsd')
-rw-r--r-- | openbsd/Battery.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd/Battery.c b/openbsd/Battery.c index 3a0bae14..70fb6298 100644 --- a/openbsd/Battery.c +++ b/openbsd/Battery.c @@ -34,7 +34,7 @@ void Battery_getData(double* level, ACPresence* isOnAC) { size_t sdlen = sizeof(struct sensordev); bool found = findDevice("acpibat0", mib, &snsrdev, &sdlen); - + *level = -1; if (found) { /* last full capacity */ @@ -57,9 +57,9 @@ void Battery_getData(double* level, ACPresence* isOnAC) { } } } - + found = findDevice("acpiac0", mib, &snsrdev, &sdlen); - + *isOnAC = AC_ERROR; if (found) { mib[3] = 9; |