X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_dataflash.c;h=bbc1b469b8c712136172a5918173930c8d63463b;hb=3c39d4d894849ce0115c6e1efe14b003aa2e91e1;hp=739e5870299e94c0aa10f927a3fe8967d2632339;hpb=f9bf6788cebb30370bcb4c421cce30868d3cc134;p=bertos.git diff --git a/bertos/hw/hw_dataflash.c b/bertos/hw/hw_dataflash.c index 739e5870..bbc1b469 100644 --- a/bertos/hw/hw_dataflash.c +++ b/bertos/hw/hw_dataflash.c @@ -1,6 +1,31 @@ /** * \file * @@ -17,8 +42,7 @@ #include #include -#include - +#warning TODO:This is an example implementation, you must implement it! MOD_DEFINE(hw_dataflash); @@ -32,7 +56,6 @@ MOD_DEFINE(hw_dataflash); */ void dataflash_hw_init(void) { - #warning The data flash init pins function is not implemented! //Disable CS line (remove if not needed) dataflash_hw_setCS(false); @@ -58,7 +81,6 @@ void dataflash_hw_init(void) */ void dataflash_hw_setCS(bool enable) { - #warning The data flash setCS function is not implemented! if (enable) { /* @@ -86,7 +108,6 @@ void dataflash_hw_setCS(bool enable) */ void dataflash_hw_setReset(bool enable) { - #warning The data flash setReset function is not implemented! if (enable) { /*