aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.h2
-rw-r--r--src/keypress_thread.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/config.h b/src/config.h
index ece1e36..b958706 100644
--- a/src/config.h
+++ b/src/config.h
@@ -1,7 +1,7 @@
#ifndef CONFIG_H
#define CONFIG_H
-/* time to wait in /dev/input fred loop */
+/* time to wait in /dev/input read loop */
#define DEBOUNCE (10 MS)
/* time to wait in backlight setter loop */
diff --git a/src/keypress_thread.c b/src/keypress_thread.c
index 1b102d4..d5ec6bf 100644
--- a/src/keypress_thread.c
+++ b/src/keypress_thread.c
@@ -1,5 +1,3 @@
-// XXX includes
-
#include "consts.h"
#include "config.h"
@@ -11,8 +9,6 @@ void on_press(void) {
gettimeofday(last_press, NULL);
kill(light_pid, SIGCONT);
-
- // XXX signal light thread
}
void keypress_thread(pid_t _light_pid) {