Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Raptor Engineering Public Development
dsview
Commits
91938e44
Commit
91938e44
authored
9 years ago
by
DreamSourceLab
Browse files
Options
Download
Email Patches
Plain Diff
fix compile warning
parent
aec079cb
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
libsigrok4DSL/proto.h
libsigrok4DSL/proto.h
+1
-1
libsigrok4DSL/session_file.c
libsigrok4DSL/session_file.c
+4
-2
No files found.
libsigrok4DSL/proto.h
View file @
91938e44
...
...
@@ -49,7 +49,7 @@ SR_API int sr_dev_probe_name_set(const struct sr_dev_inst *sdi,
int
probenum
,
const
char
*
name
);
SR_API
int
sr_dev_probe_enable
(
const
struct
sr_dev_inst
*
sdi
,
int
probenum
,
gboolean
state
);
SR_API
int
sr_dev_trigger_set
(
const
struct
sr_dev_inst
*
sdi
,
int
probenum
,
SR_API
int
sr_dev_trigger_set
(
const
struct
sr_dev_inst
*
sdi
,
u
int
16_t
probenum
,
const
char
*
trigger
);
SR_API
gboolean
sr_dev_has_option
(
const
struct
sr_dev_inst
*
sdi
,
int
key
);
SR_API
GSList
*
sr_dev_list
(
const
struct
sr_dev_driver
*
driver
);
...
...
This diff is collapsed.
Click to expand it.
libsigrok4DSL/session_file.c
View file @
91938e44
...
...
@@ -121,8 +121,10 @@ SR_API int sr_session_load(const char *filename)
struct
zip_stat
zs
;
struct
sr_dev_inst
*
sdi
;
struct
sr_channel
*
probe
;
int
ret
,
probenum
,
devcnt
,
version
,
i
,
j
;
uint64_t
tmp_u64
,
total_probes
,
enabled_probes
,
p
;
int
ret
,
devcnt
,
i
,
j
;
uint16_t
probenum
;
uint64_t
tmp_u64
,
total_probes
,
enabled_probes
;
uint16_t
p
;
char
**
sections
,
**
keys
,
*
metafile
,
*
val
,
s
[
11
];
char
probename
[
SR_MAX_PROBENAME_LEN
+
1
];
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
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