summaryrefslogtreecommitdiffstats
path: root/unsupported
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-11-25 12:46:00 +0100
committerChristian Göttsche <cgzones@googlemail.com>2020-11-25 12:47:07 +0100
commit601ad61e7ddd5a79a0c650ff617b617470fafe07 (patch)
tree03734ee31c6dac9009cefe3286beaebbab43f7b6 /unsupported
parenta3221f367779288090715f4098d9a874cd113ad3 (diff)
Unify naming of first argument of Platform_getBattery
Use percent throughout
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Platform.c b/unsupported/Platform.c
index ee36d9c1..54fde509 100644
--- a/unsupported/Platform.c
+++ b/unsupported/Platform.c
@@ -176,7 +176,7 @@ bool Platform_getNetworkIO(unsigned long int* bytesReceived,
return false;
}
-void Platform_getBattery(double* level, ACPresence* isOnAC) {
- *level = NAN;
+void Platform_getBattery(double* percent, ACPresence* isOnAC) {
+ *percent = NAN;
*isOnAC = AC_ERROR;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy