rename cpuXXX_t to cpu_XXX_t
[bertos.git] / bertos / drv / mcp41.c
index c8ddf0b79183423cbb945d426ea78834a45bf9e8..ede899f7f4ba75222b5838b22d25224c143301cc 100644 (file)
  * \author Francesco Sacchi <batt@develer.com>
  */
 
-#include <drv/timer.h>
+#include "hw/hw_mcp41.h"
 
 #include <cfg/macros.h>
 #include <cfg/compiler.h>
 
-#include <hw_mcp41.h>
+#include <drv/timer.h>
 #include <drv/mcp41.h>
 #include <drv/ser.h>
 
 #warning FIXME:This implementation is obsolete. Refactor with KFile interface.
 
+#if 0
 static Serial *spi_ser;
 
 /**
@@ -80,3 +81,5 @@ void mcp41_init(Serial *spi_port)
 
        spi_ser = spi_port;
 }
+
+#endif