Typo.
[bertos.git] / bertos / hw / hw_sensor.h
index 1342f754f6799e3dbf0e82805b4e99d03914a7f5..113e468f1d50069f5e4c3d329f6f2f02be431378 100644 (file)
@@ -40,7 +40,7 @@
 #ifndef HW_SENSOR_H
 #define HW_SENSOR_H
 
-#warning TODO:This is example implemetantion, you must implement it! 
+#warning TODO:This is an example implementation, you must implement it!
 
 #define NUM_HOME_SENSORS 1
 
 INLINE bool hw_home_sensor_read(int sensor)
 {
                /* Implement me! */
-               
+
+               //Only for test remove when implement this function
+               (void)sensor;
                return 0;
 }
 
 INLINE void hw_home_sensor_set_inverted(int sensor, bool inverted)
 {
                /* Implement me! */
+
+               //Only for test remove when implement this function
+               (void)sensor;
+               (void)inverted;
 }
 
 INLINE bool hw_level_sensor_read(int sensor)
 {
                /* Implement me! */
-               
+
+               //Only for test remove when implement this function
+               (void)sensor;
                return 0;
 }
 
 INLINE void hw_level_sensor_set_inverted(int sensor, bool inverted)
 {
                /* Implement me! */
+
+               //Only for test remove when implement this function
+               (void)sensor;
+               (void)inverted;
 }
 
 INLINE bool bld_hw_sensor_read(int sensor)
 {
                /* Implement me! */
-               
+
+               //Only for test remove when implement this function
+               (void)sensor;
                return 0;
 }