X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fi2s_at91.c;h=edb8ba046f387f418ccf29a350f35b1a6e975793;hb=9c54009acbfe8c4b27d5cfd00fd69410caa312c7;hp=bdcd98527bfb035439e871f1b62f88cd6331035e;hpb=647e8b59350b817014d29f4b204a0a201824bf1b;p=bertos.git diff --git a/bertos/cpu/arm/drv/i2s_at91.c b/bertos/cpu/arm/drv/i2s_at91.c index bdcd9852..edb8ba04 100644 --- a/bertos/cpu/arm/drv/i2s_at91.c +++ b/bertos/cpu/arm/drv/i2s_at91.c @@ -35,7 +35,7 @@ * \author Luca Ottaviano */ -#include "i2s.h" +#include "i2s_at91.h" #include #include @@ -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?