aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2018-07-11 15:56:07 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2018-07-11 15:56:07 +0800
commite5aac499a8a2026af5d5176f45be3ac2576d75cc (patch)
tree0a8650bc69c21b6bad8f428f8f21fb70b08d2d80 /main.cpp
parent0e023a454381cb53147d5394d2de76b79e0816e7 (diff)
downloadlightsd-e5aac499a8a2026af5d5176f45be3ac2576d75cc.tar.xz
Remove profanity.
Reset the iio device buffer before using it.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 524682e..e7f4e84 100644
--- a/main.cpp
+++ b/main.cpp
@@ -177,7 +177,7 @@ void command_thread()
printf(manualmode?"ALS value: --\n":"ALS value: %.2f\n",als.get_value());
printf("Display brightness: %d%%",lcd.get_brightness());
if(!manualmode&&lcd.get_offset())printf(" (+%d%%)\n",lcd.get_offset());else putchar('\n');
- //TODO: check for existance
+ //TODO: do not print this if keyboard backlight is not managed
printf("Keyboard backlight: %d%%\n",kbd.get_brightness());
}
if(cav[0]=="q")