From: lottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Date: Sat, 4 Jul 2009 10:57:25 +0000 (+0000)
Subject: Fix SD and I2S wizard definitions.
X-Git-Tag: 2.2.0~229
X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=6fc70471426c7427c1c4f1e8dffbed557ff90b44;p=bertos.git

Fix SD and I2S wizard definitions.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2739 38d2e660-2303-0410-9eaa-f027e97ec537
---

diff --git a/bertos/cfg/cfg_i2s.h b/bertos/cfg/cfg_i2s.h
index 2188e88c..d810d435 100644
--- a/bertos/cfg/cfg_i2s.h
+++ b/bertos/cfg/cfg_i2s.h
@@ -52,7 +52,7 @@
  *
  * $WIZ$ type = "int"
  */
-#define CONFIG_SAMPLE_FREQ     44100
+#define CONFIG_SAMPLE_FREQ     44100UL
 
 /**
  * Module logging level.
diff --git a/bertos/drv/i2s.h b/bertos/drv/i2s.h
index 1729b927..2623702c 100644
--- a/bertos/drv/i2s.h
+++ b/bertos/drv/i2s.h
@@ -57,7 +57,7 @@
  *
  * $WIZ$ module_name = "i2s"
  * $WIZ$ module_configuration = "bertos/cfg/cfg_i2s.h"
- * $WIZ$ module_supports = "not atmega103 and not atmega168 and not at91"
+ * $WIZ$ module_supports = "not atmega103 and not atmega168 and not atmega8"
  */
 
 #ifndef I2S_H
diff --git a/bertos/drv/sd.h b/bertos/drv/sd.h
index 8be9c501..9436c71a 100644
--- a/bertos/drv/sd.h
+++ b/bertos/drv/sd.h
@@ -36,6 +36,11 @@
  *
  * \version $Id$
  * \author Francesco Sacchi <batt@develer.com>
+ * 
+ * $WIZ$ module_name = "sd"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_fat.h"
+ * $WIZ$ module_depends = "kfile", "timer"
+ * $WIZ$ module_hw = "bertos/hw/hw_sd.h"
  */
 
 
@@ -44,7 +49,7 @@
 
 #include <fs/fatfs/diskio.h>
 #include <kern/kfile.h>
-#include <cfg/cfg_fat.h>
+#include "cfg/cfg_fat.h"
 
 bool sd_test(void);