Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
0a06b6ec
Commit
0a06b6ec
authored
8 years ago
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hex or dec input
parent
3ca3fab5
master
framepars
jtag
master-initial
master-next
rocko
thud
warrior
warrior-boson
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
elphel393-pwr.c
src/drivers/elphel/elphel393-pwr.c
+1
-1
No files found.
src/drivers/elphel/elphel393-pwr.c
View file @
0a06b6ec
...
@@ -615,7 +615,7 @@ static ssize_t gpio_10389_set(struct device *dev, struct device_attribute *attr,
...
@@ -615,7 +615,7 @@ static ssize_t gpio_10389_set(struct device *dev, struct device_attribute *attr,
{
{
int
result
;
int
result
;
int
value
;
int
value
;
sscanf
(
buf
,
"%
x
"
,
&
value
);
sscanf
(
buf
,
"%
i
"
,
&
value
);
result
=
gpio_10389_ctrl
(
dev
,
value
);
result
=
gpio_10389_ctrl
(
dev
,
value
);
if
(
result
<
0
)
return
result
;
if
(
result
<
0
)
return
result
;
return
count
;
return
count
;
...
...
This diff is collapsed.
Click to expand it.
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