projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76cb3ac
)
barometer: mark Detect_sensor_type as static
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 10:56:40 +0000
(11:56 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 10:56:40 +0000
(11:56 +0100)
Make function start with lowercase 'd' while we're at it.
Commit straight to 5.5.
src/barometer.c
patch
|
blob
|
history
diff --git
a/src/barometer.c
b/src/barometer.c
index
84ffdfc
..
aaedd70
100644
(file)
--- a/
src/barometer.c
+++ b/
src/barometer.c
@@
-1363,7
+1363,7
@@
static int BMP085_read(double * pressure, double * temperature)
*
* @return detected sensor type
*/
-
enum Sensor_type D
etect_sensor_type(void)
+
static enum Sensor_type d
etect_sensor_type(void)
{
if(BMP085_detect())
return Sensor_BMP085;
@@
-1805,7
+1805,7
@@
static int collectd_barometer_init (void)
}
/* detect sensor type - this will also set slave address */
- sensor_type =
D
etect_sensor_type();
+ sensor_type =
d
etect_sensor_type();
/* init correct sensor type */
switch(sensor_type)