projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for old init.
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
i2s_at91.c
diff --git
a/bertos/cpu/arm/drv/i2s_at91.c
b/bertos/cpu/arm/drv/i2s_at91.c
index bdcd98527bfb035439e871f1b62f88cd6331035e..84947004681e6e981b6feba4c224d9999e604056 100644
(file)
--- a/
bertos/cpu/arm/drv/i2s_at91.c
+++ b/
bertos/cpu/arm/drv/i2s_at91.c
@@
-31,11
+31,10
@@
*
* \brief I2S driver implementation.
*
*
* \brief I2S driver implementation.
*
- * \version $Id$
* \author Luca Ottaviano <lottaviano@develer.com>
*/
* \author Luca Ottaviano <lottaviano@develer.com>
*/
-#include "i2s.h"
+#include "i2s
_at91
.h"
#include <drv/timer.h>
#include <cfg/log.h>
#include <drv/timer.h>
#include <cfg/log.h>
@@
-133,7
+132,6
@@
bool i2s_start(void)
return true;
}
return true;
}
-#define CONFIG_SAMPLE_FREQ 44100
#define BITS_PER_CHANNEL 16
#define N_OF_CHANNEL 2
// TODO: check the computed value?
#define BITS_PER_CHANNEL 16
#define N_OF_CHANNEL 2
// TODO: check the computed value?