timer: Cleanup and warning removal from driver and test
[bertos.git] / bertos / hw / hw_mcp41.c
index 88cd4ea0905643c452073d85c32a9d346a3fde30..dc2a051cedadb818d516c894f9a93f69d725600a 100644 (file)
  * Copyright 2006 Develer S.r.l. (http://www.develer.com/)
  * -->
  *
- * \version $Id$
- *
  * \brief MCP41 hardware-specific definitions
  *
  * \version $Id$
  * \author Francesco Sacchi <batt@develer.com>
  */
 
-#include <hw_mcp41.h>
+#include "hw/hw_mcp41.h"
 
 #include <cfg/macros.h>
 #include <cfg/compiler.h>
 
-#include <avr/io.h>
+#warning TODO:This is an example implementation, you must implement it!
 
+const uint16_t mcp41_ports[MCP41_CNT] = 
+{
+               0, /* add here mcp41 ports */ 
+};
+const uint8_t  mcp41_pins [MCP41_CNT] = 
+{
+               0, /* add here mcp41 ports */ 
+};
 
-const uint16_t mcp41_ports[MCP41_CNT] = {
-                                               _SFR_IO_ADDR(PORTB), /** Led pot */
-                                               _SFR_IO_ADDR(PORTB), /** Photometer pot */
-                                       };
-const uint8_t  mcp41_pins [MCP41_CNT] = {
-                                               BV(PB7),
-                                               BV(PB6),
-                                       };