From a6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Wed, 3 Jul 2024 15:52:39 +0200 Subject: format files --- src/triggerpull.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/triggerpull.c') 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 + #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); } } -- cgit v1.2.3