summaryrefslogtreecommitdiff
path: root/src/triggerpull.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/triggerpull.c')
-rw-r--r--src/triggerpull.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/triggerpull.c b/src/triggerpull.c
deleted file mode 100644
index a55797f..0000000
--- a/src/triggerpull.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "triggerpull.h"
-
-#include <unistd.h>
-
-#include "ndelay.h"
-#include "open.h"
-
-void triggerpull(void)
-{
- int fd;
-
- fd = open_write("lock/trigger");
- if (fd >= 0) {
- ndelay_on(fd);
- write(fd, "", 1); /* if it fails, bummer */
- close(fd);
- }
-}