projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for more i2c devices.
[bertos.git]
/
bertos
/
hw
/
hw_mcp41.h
diff --git
a/bertos/hw/hw_mcp41.h
b/bertos/hw/hw_mcp41.h
index 1289d60d6bed841a4fd3d820c48df55f4e2fc3ca..b31a7dd8b3d124452cdf27c09af03dac08b1d16b 100644
(file)
--- a/
bertos/hw/hw_mcp41.h
+++ b/
bertos/hw/hw_mcp41.h
@@
-31,19
+31,18
@@
*
* \brief MCP41 hardware-specific definitions
*
*
* \brief MCP41 hardware-specific definitions
*
- * \version $Id$
* \author Francesco Sacchi <batt@develer.com>
*/
#ifndef HW_MCP41_H
#define HW_MCP41_H
* \author Francesco Sacchi <batt@develer.com>
*/
#ifndef HW_MCP41_H
#define HW_MCP41_H
-#include "mcp41_map.h"
+#include "
hw/
mcp41_map.h"
#include <cfg/compiler.h>
#include <cfg/compiler.h>
-#warning TODO:
This is
example implementation, you must implement it!
+#warning TODO:
This is an
example implementation, you must implement it!
INLINE void SET_MCP41_DDR(Mcp41Dev dev)
INLINE void SET_MCP41_DDR(Mcp41Dev dev)
@@
-51,16
+50,25
@@
INLINE void SET_MCP41_DDR(Mcp41Dev dev)
/* Implement me! */
//Warning: this funtions is like avr target name,
//fix it to comply for all target.
/* Implement me! */
//Warning: this funtions is like avr target name,
//fix it to comply for all target.
+
+ //Only for test remove when implement this function
+ (void)dev;
}
INLINE void MCP41_ON(Mcp41Dev i)
{
/* Implement me! */
}
INLINE void MCP41_ON(Mcp41Dev i)
{
/* Implement me! */
+
+ //Only for test remove when implement this function
+ (void)i;
}
INLINE void MCP41_OFF(Mcp41Dev i)
{
/* Implement me! */
}
INLINE void MCP41_OFF(Mcp41Dev i)
{
/* Implement me! */
+
+ //Only for test remove when implement this function
+ (void)i;
}
#endif /* HW_MCP41_H */
}
#endif /* HW_MCP41_H */