home
/
code
/
khatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae8780
)
Fix abnormal energy status output
author
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 31 Jul 2018 19:37:18 +0000
(15:37 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 31 Jul 2018 19:37:18 +0000
(15:37 -0400)
bin/khatus_controller
patch
|
blob
|
blame
|
history
diff --git
a/bin/khatus_controller
b/bin/khatus_controller
index
d591fe8
..
d75281e
100755
(executable)
--- a/
bin/khatus_controller
+++ b/
bin/khatus_controller
@@
-284,7
+284,7
@@
function make_status_energy( state, direction_of_change) {
} else {
direction_of_change = "="
};
- printf("E%s%s%%", direction_of_change, db["energy_percentage"])
+
return s
printf("E%s%s%%", direction_of_change, db["energy_percentage"])
}
function make_status_mem( total, used, percent, status) {
This page took
0.02741 seconds
and
4
git commands to generate.