summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-04-03 00:16:27 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-04-03 00:17:35 +0200
commitaf0d3be7a86b0e518296b00d33c56c96df1c315e (patch)
tree10b031f756c378767cead4b574b857a209d6d6b4
parentActually use delay_ms. (diff)
downloadandroid-connect-blinker-af0d3be7a86b0e518296b00d33c56c96df1c315e.tar.xz
android-connect-blinker-af0d3be7a86b0e518296b00d33c56c96df1c315e.zip
Improve message.
-rw-r--r--blinker.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/blinker.c b/blinker.c
index 1b57eb9..041720c 100644
--- a/blinker.c
+++ b/blinker.c
@@ -3,20 +3,22 @@
* -- by Jason A. Donenfeld --
* Jason@zx2c4.com
*
- * This creates two files in proc:
+ * This creates three files in proc:
*
* /proc/blinker/trigger_port
* /proc/blinker/backlight_file
+ * /proc/blinker/delay_ms
*
* When the system attempts to make a connection to localhost using the port
- * specified in trigger_port, backlight_file is used to blink the backlight.
+ * specified in trigger_port, backlight_file is used to blink the backlight
+ * for delay_ms milliseconds.
*
* This occurs regardless of whether or not there exists anything listening
* on trigger_port.
*
* # cd /proc/blinker/
* # ls
- * backlight_file trigger_port
+ * backlight_file delay_ms trigger_port
* # echo 9184 > trigger_port
* # cat backlight_file
* /sys/class/backlight/s5p_bl/brightness