summaryrefslogtreecommitdiff
path: root/src/triggerpull.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/triggerpull.c')
-rw-r--r--src/triggerpull.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/triggerpull.c b/src/triggerpull.c
index 3691c5a..a55797f 100644
--- a/src/triggerpull.c
+++ b/src/triggerpull.c
@@ -1,7 +1,9 @@
+#include "triggerpull.h"
+
#include <unistd.h>
+
#include "ndelay.h"
#include "open.h"
-#include "triggerpull.h"
void triggerpull(void)
{
@@ -10,7 +12,7 @@ void triggerpull(void)
fd = open_write("lock/trigger");
if (fd >= 0) {
ndelay_on(fd);
- write(fd,"",1); /* if it fails, bummer */
+ write(fd, "", 1); /* if it fails, bummer */
close(fd);
}
}