Use a possible value for the spi port.
[bertos.git] / bertos / hw / hw_mcp41.h
index 1289d60d6bed841a4fd3d820c48df55f4e2fc3ca..33e8f774fe60fc2d3660360cf90093f250a5350e 100644 (file)
@@ -43,7 +43,7 @@
 #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)
@@ -51,16 +51,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.
+
+               //Only for test remove when implement this function
+               (void)dev;
 }
 
 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! */
+
+               //Only for test remove when implement this function
+               (void)i;
 }
 
 #endif /* HW_MCP41_H */