#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;
}