diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteI2C.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteI2C.h index 1ea65ec78..50b1e5f1d 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteI2C.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteI2C.h @@ -24,18 +24,6 @@ static void I2CCallbackFunction(I2C_Handle handle, I2C_Transaction *msg, bool tr } } -/* Generic I2C instance identifiers */ -#define Board_I2C CC2650_MA_I2C0 -/*! - * @def CC2650_LAUNCHXL_I2CName - * @brief Enum of I2C names on the CC2650 dev board - */ -typedef enum CC2650_MA_I2CName { - CC2650_MA_I2C0 = 0, - - CC2650_MA_I2CCOUNT -} CC2650_MA_I2CName; - static void I2Cinit(){ I2C_init(); diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_PIN.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_PIN.h index 9c3936b60..d64fda6a5 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_PIN.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_PIN.h @@ -125,6 +125,19 @@ const SPI_Config SPI_config[] = { #ifdef Elite1_4 + +/* Generic I2C instance identifiers */ +#define Board_I2C CC2650_MA_I2C0 +/*! + * @def CC2650_LAUNCHXL_I2CName + * @brief Enum of I2C names on the CC2650 dev board + */ +typedef enum CC2650_MA_I2CName { + CC2650_MA_I2C0 = 0, + + CC2650_MA_I2CCOUNT +} CC2650_MA_I2CName; + /* * ============================= I2C Begin===================================== */