diff options
author | Chris Xiong <chirs241097@gmail.com> | 2018-07-11 15:56:07 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2018-07-11 15:56:07 +0800 |
commit | e5aac499a8a2026af5d5176f45be3ac2576d75cc (patch) | |
tree | 0a8650bc69c21b6bad8f428f8f21fb70b08d2d80 /main.cpp | |
parent | 0e023a454381cb53147d5394d2de76b79e0816e7 (diff) | |
download | lightsd-e5aac499a8a2026af5d5176f45be3ac2576d75cc.tar.xz |
Remove profanity.
Reset the iio device buffer before using it.
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |