summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorJeonghoon Park <jh1979.park@samsung.com>2018-08-09 11:27:37 +0900
committerJeonghoon Park <jh1979.park@samsung.com>2018-08-09 11:27:37 +0900
commit748b267cca86743a04849426c3b95f954b8d7b73 (patch)
tree8a99e588951ba55cc2255dc36c36420caddb9706 /inc
parenta5891453a47460393db516fdecc854c3e4fb33b5 (diff)
downloadst-things-co2-meter-748b267cca86743a04849426c3b95f954b8d7b73.tar.gz
st-things-co2-meter-748b267cca86743a04849426c3b95f954b8d7b73.tar.bz2
st-things-co2-meter-748b267cca86743a04849426c3b95f954b8d7b73.zip
change license to apache-2.0
Diffstat (limited to 'inc')
-rw-r--r--inc/adc-mcp3008.h12
-rw-r--r--inc/co2-sensor.h16
-rw-r--r--inc/log.h15
-rw-r--r--inc/sensor-data.h14
4 files changed, 32 insertions, 25 deletions
diff --git a/inc/adc-mcp3008.h b/inc/adc-mcp3008.h
index 3d8e9b3..a49d067 100644
--- a/inc/adc-mcp3008.h
+++ b/inc/adc-mcp3008.h
@@ -1,18 +1,20 @@
-/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+/* ****************************************************************
+ *
+ * Copyright 2017 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
+ * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ *
+ ******************************************************************/
#ifndef __ADC_MCP3008_H__
#define __ADC_MCP3008_H__
diff --git a/inc/co2-sensor.h b/inc/co2-sensor.h
index cc65b32..d9ee219 100644
--- a/inc/co2-sensor.h
+++ b/inc/co2-sensor.h
@@ -1,18 +1,20 @@
-/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+/* ****************************************************************
*
- * Licensed under the Flora License, Version 1.1 (the License);
+ * Copyright 2017 Samsung Electronics All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://floralicense.org/license/
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
+ * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ *
+ ******************************************************************/
#ifndef __CO2_SENSOR_H__
#define __CO2_SENSOR_H__
@@ -32,7 +34,7 @@ void co2_sensor_close(void);
/* utility functions */
double co2_sensor_value_to_voltage(unsigned int value);
-/* Not implemented, please see c source code */
+/* Not implemented, please see comment in c source code */
unsigned int co2_sensor_voltage_to_ppm(double voltage);
unsigned int co2_sensor_value_to_ppm(unsigned int value);
diff --git a/inc/log.h b/inc/log.h
index c190ffd..416b5db 100644
--- a/inc/log.h
+++ b/inc/log.h
@@ -1,19 +1,20 @@
-/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+/* ****************************************************************
*
- * Licensed under the Flora License, Version 1.1 (the License);
+ * Copyright 2017 Samsung Electronics All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://floralicense.org/license/
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
+ * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
-
+ *
+ ******************************************************************/
#ifndef __CO2_LOG_H__
#define __CO2_LOG_H__
diff --git a/inc/sensor-data.h b/inc/sensor-data.h
index 9d68972..916ce6c 100644
--- a/inc/sensor-data.h
+++ b/inc/sensor-data.h
@@ -1,18 +1,20 @@
-/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+/* ****************************************************************
*
- * Licensed under the Flora License, Version 1.1 (the License);
+ * Copyright 2017 Samsung Electronics All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://floralicense.org/license/
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
+ * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ *
+ ******************************************************************/
#ifndef __SENSOR_DATA_H__
#define __SENSOR_DATA_H__