From 6fc70471426c7427c1c4f1e8dffbed557ff90b44 Mon Sep 17 00:00:00 2001 From: lottaviano Date: Sat, 4 Jul 2009 10:57:25 +0000 Subject: [PATCH] Fix SD and I2S wizard definitions. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2739 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_i2s.h | 2 +- bertos/drv/i2s.h | 2 +- bertos/drv/sd.h | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) 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 + * + * $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 #include -#include +#include "cfg/cfg_fat.h" bool sd_test(void); -- 2.25.1