X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_dataflash.c;h=844dd9220ab6092b73abd40ca1b49de9528554db;hb=ebd302f4820855188df16ee8422a947751bf2c50;hp=1832f6ec8c6188c9035670fccedbea2a7c5d488a;hpb=cf51e69be8030631cc4b10b7760a853edc812f74;p=bertos.git diff --git a/bertos/hw/hw_dataflash.c b/bertos/hw/hw_dataflash.c index 1832f6ec..844dd922 100644 --- a/bertos/hw/hw_dataflash.c +++ b/bertos/hw/hw_dataflash.c @@ -1,6 +1,31 @@ /** * \file * @@ -11,14 +36,13 @@ * \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 +56,7 @@ MOD_DEFINE(hw_dataflash); */ void dataflash_hw_init(void) { + //Disable CS line (remove if not needed) dataflash_hw_setCS(false);