projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7475418
)
sigrok plugin: constify
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 21:32:40 +0000
(22:32 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 21:32:40 +0000
(22:32 +0100)
src/sigrok.c
patch
|
blob
|
history
diff --git
a/src/sigrok.c
b/src/sigrok.c
index
487f31a
..
ad5c70c
100644
(file)
--- a/
src/sigrok.c
+++ b/
src/sigrok.c
@@
-136,9
+136,9
@@
static int sigrok_config(oconfig_item_t *ci)
return 0;
}
-static char *sigrok_value_type(const struct sr_datafeed_analog *analog)
+static c
onst c
har *sigrok_value_type(const struct sr_datafeed_analog *analog)
{
- char *s;
+ c
onst c
har *s;
if (analog->mq == SR_MQ_VOLTAGE)
s = "voltage";