summaryrefslogtreecommitdiff
path: root/src/triggerpull.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
commita6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (patch)
treeb88cc7a8457658d67e0321718556ac807f6bccf3 /src/triggerpull.c
parent00be7622c428f279872f84569f098ce16150f8a8 (diff)
format files
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);
}
}