X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_sensor.h;h=113e468f1d50069f5e4c3d329f6f2f02be431378;hb=68ac3bfba91119369e42240a732f542c0c6d2736;hp=c7e531259430ca18ca64475a18a32cf965d55fb8;hpb=57cb450a644c0f31440ea69a81b17a298f2eb8d1;p=bertos.git diff --git a/bertos/hw/hw_sensor.h b/bertos/hw/hw_sensor.h index c7e53125..113e468f 100644 --- a/bertos/hw/hw_sensor.h +++ b/bertos/hw/hw_sensor.h @@ -48,31 +48,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; }