Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
osie
Commits
5bb303db
Commit
5bb303db
authored
Apr 15, 2024
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics.
parent
cecf0dac
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
12 deletions
+6
-12
coupler/Makefile
coupler/Makefile
+6
-6
coupler/cli.h
coupler/cli.h
+0
-2
coupler/common.h
coupler/common.h
+0
-2
coupler/gpio.h
coupler/gpio.h
+0
-2
No files found.
coupler/Makefile
View file @
5bb303db
coupler/cli.h
View file @
5bb303db
...
@@ -204,5 +204,3 @@ void handleCLI(int argc, char **argv) {
...
@@ -204,5 +204,3 @@ void handleCLI(int argc, char **argv) {
if
(
s
!=
NULL
)
CURRENT_GPIO_MODE
=
atoi
(
s
);
if
(
s
!=
NULL
)
CURRENT_GPIO_MODE
=
atoi
(
s
);
printf
(
"GPIO measurement mode = %d
\n
"
,
CURRENT_GPIO_MODE
);
printf
(
"GPIO measurement mode = %d
\n
"
,
CURRENT_GPIO_MODE
);
}
}
coupler/common.h
View file @
5bb303db
/* This work is licensed under a Creative Commons CCZero 1.0 Universal License.
* See http://creativecommons.org/publicdomain/zero/1.0/for more information. */
#define countof(a) (sizeof(a)/sizeof(*(a)))
#define countof(a) (sizeof(a)/sizeof(*(a)))
#include <sys/time.h>
#include <sys/time.h>
...
...
coupler/gpio.h
View file @
5bb303db
...
@@ -56,5 +56,3 @@ static int setGPIO() {
...
@@ -56,5 +56,3 @@ static int setGPIO() {
close
(
led
.
fd
);
close
(
led
.
fd
);
return
0
;
return
0
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment