Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DEL 1ns 4cha - Software
Commits
b4195ed7
Commit
b4195ed7
authored
May 02, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: trivial warning fixes
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
cf4a7685
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
.gitignore
lib/.gitignore
+1
-0
fdelay-init.c
lib/fdelay-init.c
+5
-4
fdelay-pulse-tom.c
lib/fdelay-pulse-tom.c
+1
-1
No files found.
lib/.gitignore
View file @
b4195ed7
...
...
@@ -7,3 +7,4 @@ fdelay-read
fdelay-fread
fdelay-pulse
fdelay-open-by-lun
fdelay-pulse-tom
\ No newline at end of file
lib/fdelay-init.c
View file @
b4195ed7
...
...
@@ -225,8 +225,9 @@ extern int fdelay_check_wr_mode(struct fdelay_board *userb)
float
fdelay_read_temperature
(
struct
fdelay_board
*
userb
)
{
uint32_t
t
;
fdelay_sysfs_get
(
userb
,
"temperature"
,
&
t
);
return
(
float
)
t
/
16
.
0
;
uint32_t
t
;
__define_board
(
b
,
userb
);
fdelay_sysfs_get
(
b
,
"temperature"
,
&
t
);
return
(
float
)
t
/
16
.
0
;
}
lib/fdelay-pulse-tom.c
View file @
b4195ed7
...
...
@@ -133,7 +133,7 @@ void dump_ts(char *title, struct fdelay_time t)
int
main
(
int
argc
,
char
**
argv
)
{
struct
fdelay_time
t_start
,
t_delta
,
t_width
,
t_current
;
struct
fdelay_time
t_start
,
t_delta
,
t_width
;
int
mode
=
-
1
;
int
channel
=
-
1
;
int
count
=
1
;
...
...
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