X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_sensor.h;h=9913ff98e2ca075da291cc3933e04f7da55b1863;hb=1a8a2b9b57118be3f52d1261ebefac3875e67bcf;hp=1342f754f6799e3dbf0e82805b4e99d03914a7f5;hpb=107743ef422de7a4c926a20ff87eee1515eb1987;p=bertos.git diff --git a/bertos/hw/hw_sensor.h b/bertos/hw/hw_sensor.h index 1342f754..9913ff98 100644 --- a/bertos/hw/hw_sensor.h +++ b/bertos/hw/hw_sensor.h @@ -32,7 +32,6 @@ * * \brief Sensor hardware-specific definitions * - * \version $Id$ * * \author Daniele Basile */ @@ -40,7 +39,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 @@ -48,31 +47,45 @@ 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; }