projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split the parameter name and the value of the parameter
[bertos.git]
/
bertos
/
hw
/
hw_sensor.h
diff --git
a/bertos/hw/hw_sensor.h
b/bertos/hw/hw_sensor.h
index c7e531259430ca18ca64475a18a32cf965d55fb8..113e468f1d50069f5e4c3d329f6f2f02be431378 100644
(file)
--- 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! */
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! */
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! */
}
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! */
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! */
}
INLINE bool bld_hw_sensor_read(int sensor)
{
/* Implement me! */
-
+
+ //Only for test remove when implement this function
+ (void)sensor;
return 0;
}
return 0;
}