projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
hw
/
hw_sensor.h
diff --git
a/bertos/hw/hw_sensor.h
b/bertos/hw/hw_sensor.h
index c7e531259430ca18ca64475a18a32cf965d55fb8..9913ff98e2ca075da291cc3933e04f7da55b1863 100644
(file)
--- a/
bertos/hw/hw_sensor.h
+++ b/
bertos/hw/hw_sensor.h
@@
-32,7
+32,6
@@
*
* \brief Sensor hardware-specific definitions
*
*
* \brief Sensor hardware-specific definitions
*
- * \version $Id$
*
* \author Daniele Basile <asterix@develer.com>
*/
*
* \author Daniele Basile <asterix@develer.com>
*/
@@
-48,31
+47,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;
}