summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 76cb3ac)
raw | patch | inline | side by side (parent: 76cb3ac)
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.
Commit straight to 5.5.
src/barometer.c | patch | blob | history |
diff --git a/src/barometer.c b/src/barometer.c
index 84ffdfcb0db74113b8bd18a4ae611df11c858834..aaedd70afd075a51293b354c7a792a5f3e81d7ec 100644 (file)
--- a/src/barometer.c
+++ b/src/barometer.c
*
* @return detected sensor type
*/
-enum Sensor_type Detect_sensor_type(void)
+static enum Sensor_type detect_sensor_type(void)
{
if(BMP085_detect())
return Sensor_BMP085;
}
/* detect sensor type - this will also set slave address */
- sensor_type = Detect_sensor_type();
+ sensor_type = detect_sensor_type();
/* init correct sensor type */
switch(sensor_type)