summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/co2-sensor.h6
-rw-r--r--inc/log.h2
-rw-r--r--inc/sensor-data.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/inc/co2-sensor.h b/inc/co2-sensor.h
index d3b2b39..ac44cb3 100644
--- a/inc/co2-sensor.h
+++ b/inc/co2-sensor.h
@@ -28,14 +28,14 @@
*/
int co2_sensor_read(int ch_num, unsigned int *out_value);
-/* release resource */
+/* release co2 sensor resource */
void co2_sensor_close(void);
-/* utility functions */
+/* utility function : convert adc value(from MCP3008) to voltage */
double co2_sensor_value_to_voltage(unsigned int value);
-/* Fallowing functions art Not implemented, please see comments in c source code */
+/* Following functions are Not implemented, please see comments in c source code */
int co2_sensor_set_calibration_values(unsigned int zero_point_v,
unsigned int second_point_ppm, unsigned int second_point_v);
unsigned int co2_sensor_voltage_to_ppm(double voltage);
diff --git a/inc/log.h b/inc/log.h
index 416b5db..4ed451c 100644
--- a/inc/log.h
+++ b/inc/log.h
@@ -16,7 +16,7 @@
*
******************************************************************/
#ifndef __CO2_LOG_H__
-#define __CO2_LOG_H__
+#define __CO2_LOG_H__
#include <dlog.h>
diff --git a/inc/sensor-data.h b/inc/sensor-data.h
index f486551..053bf9d 100644
--- a/inc/sensor-data.h
+++ b/inc/sensor-data.h
@@ -17,7 +17,7 @@
******************************************************************/
#ifndef __SENSOR_DATA_H__
-#define __SENSOR_DATA_H__
+#define __SENSOR_DATA_H__
#include <stdbool.h>