Mercurial > hg > beaglert
changeset 312:00725dfc1b87 prerelease
Decrufting: removed ancient DBOX_CAPE define from header files (not yet from PRU code)
author | andrewm |
---|---|
date | Fri, 27 May 2016 18:42:28 +0100 |
parents | 493a07f6ec09 |
children | 611306d840b3 |
files | examples/d-box/config.h include/Bela.h |
diffstat | 2 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/d-box/config.h Fri May 27 18:37:51 2016 +0100 +++ b/examples/d-box/config.h Fri May 27 18:42:28 2016 +0100 @@ -21,9 +21,6 @@ #define DBOX_USE_XENOMAI //#define OLD_OSCBANK -/* Define this if the new cape is in use (changes pinouts and I2C address) */ -#define DBOX_CAPE - #ifdef DBOX_USE_XENOMAI // Xenomai-specific includes #include <sys/mman.h>
--- a/include/Bela.h Fri May 27 18:37:51 2016 +0100 +++ b/include/Bela.h Fri May 27 18:42:28 2016 +0100 @@ -37,12 +37,7 @@ // Useful constants /** \cond PRIVATE */ -#define DBOX_CAPE // New custom cape -#ifdef DBOX_CAPE #define CODEC_I2C_ADDRESS 0x18 // Address of TLV320AIC3104 codec -#else -#define CODEC_I2C_ADDRESS 0x1B // Address of TLV320AIC3106 codec -#endif #define MAX_PRU_FILENAME_LENGTH 256 #define MAX_SERVERNAME_LENGTH 256