X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_dataflash.c;h=1a758a869561d10e183ff3d1577d6e20c9faffc1;hb=751e0228258e4c9e738fdcbfd43e45cdf873a553;hp=1832f6ec8c6188c9035670fccedbea2a7c5d488a;hpb=cf51e69be8030631cc4b10b7760a853edc812f74;p=bertos.git diff --git a/bertos/hw/hw_dataflash.c b/bertos/hw/hw_dataflash.c index 1832f6ec..1a758a86 100644 --- a/bertos/hw/hw_dataflash.c +++ b/bertos/hw/hw_dataflash.c @@ -1,24 +1,47 @@ /** * \file * * * \brief Dataflash HW control routines. * - * \version $Id$ * \author Francesco Sacchi */ -#include "hw_dataflash.h" +#include "hw/hw_dataflash.h" #include #include #include -#include - +#warning TODO:This is an example implementation, you must implement it! MOD_DEFINE(hw_dataflash); @@ -32,6 +55,7 @@ MOD_DEFINE(hw_dataflash); */ void dataflash_hw_init(void) { + //Disable CS line (remove if not needed) dataflash_hw_setCS(false);