Fix compilation issues on I2S module.
authorlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 6 Jul 2009 16:57:44 +0000 (16:57 +0000)
committerlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 6 Jul 2009 16:57:44 +0000 (16:57 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2745 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/arm/drv/i2s_at91.c
bertos/cpu/arm/drv/i2s_at91.h

index bdcd98527bfb035439e871f1b62f88cd6331035e..edb8ba046f387f418ccf29a350f35b1a6e975793 100644 (file)
@@ -35,7 +35,7 @@
  * \author Luca Ottaviano <lottaviano@develer.com>
  */
 
-#include "i2s.h"
+#include "i2s_at91.h"
 
 #include <drv/timer.h>
 #include <cfg/log.h>
@@ -133,7 +133,6 @@ bool i2s_start(void)
        return true;
 }
 
-#define CONFIG_SAMPLE_FREQ 44100
 #define BITS_PER_CHANNEL 16
 #define N_OF_CHANNEL 2
 // TODO: check the computed value?
index 2623702c4e17fe165c804e20a694bc436b0464f0..abdbdc28106d3b54ba0b8e69b9451d2a0d761faa 100644 (file)
@@ -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 atmega8"
+ * $WIZ$ module_supports = "at91"
  */
 
 #ifndef I2S_H