X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fmcp41.c;h=ede899f7f4ba75222b5838b22d25224c143301cc;hb=e62ca0b357f09804d7d894949df44224c9d74bb7;hp=c8ddf0b79183423cbb945d426ea78834a45bf9e8;hpb=61b9d5143e9371c4ba00f067358829bc45434ed8;p=bertos.git diff --git a/bertos/drv/mcp41.c b/bertos/drv/mcp41.c index c8ddf0b7..ede899f7 100644 --- a/bertos/drv/mcp41.c +++ b/bertos/drv/mcp41.c @@ -36,17 +36,18 @@ * \author Francesco Sacchi */ -#include +#include "hw/hw_mcp41.h" #include #include -#include +#include #include #include #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