# HG changeset patch # User andrewm # Date 1464370948 -3600 # Node ID 00725dfc1b8786dde933872df8a1f16b9f98b437 # Parent 493a07f6ec090c33a41a6e238155dd71bdac6fc9 Decrufting: removed ancient DBOX_CAPE define from header files (not yet from PRU code) diff -r 493a07f6ec09 -r 00725dfc1b87 examples/d-box/config.h --- 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 diff -r 493a07f6ec09 -r 00725dfc1b87 include/Bela.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