From f9bf6788cebb30370bcb4c421cce30868d3cc134 Mon Sep 17 00:00:00 2001 From: asterix Date: Wed, 14 May 2008 10:39:30 +0000 Subject: [PATCH] Add warning for not implemented functions. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1251 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/hw/hw_dataflash.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bertos/hw/hw_dataflash.c b/bertos/hw/hw_dataflash.c index 1832f6ec..739e5870 100644 --- a/bertos/hw/hw_dataflash.c +++ b/bertos/hw/hw_dataflash.c @@ -32,6 +32,8 @@ 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); @@ -56,6 +58,7 @@ void dataflash_hw_init(void) */ void dataflash_hw_setCS(bool enable) { + #warning The data flash setCS function is not implemented! if (enable) { /* @@ -83,6 +86,7 @@ void dataflash_hw_setCS(bool enable) */ void dataflash_hw_setReset(bool enable) { + #warning The data flash setReset function is not implemented! if (enable) { /* -- 2.25.1