To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: DefinitionsAndGlobals.h
- Revision:
- 264:f7d8f9f361e3
- Parent:
- 262:752c8689944a
- Child:
- 266:ae588e75cfa4
--- a/DefinitionsAndGlobals.h Thu Jul 14 19:54:27 2016 +0000 +++ b/DefinitionsAndGlobals.h Thu Jul 14 23:05:09 2016 +0000 @@ -33,8 +33,20 @@ DigitalOut PL_I2C_GPIO(PTC1); //I2C - CDMS to BAE - DigitalIn BAE_I2C_GPIO(PIN67);//PTB21 from bae to cdms - DigitalOut CDMS_I2C_GPIO(PIN39);//PTA5 from cdms to bae + //DigitalIn BAE_I2C_GPIO(PIN67);//PTB21 from bae to cdms + //DigitalOut CDMS_I2C_GPIO(PIN39);//PTA5 from cdms to bae + + #define SBC 1 + + #if SBC + DigitalOut CDMS_I2C_GPIO(PIN67); + DigitalIn BAE_I2C_GPIO(PIN1); + #endif + + #if !SBC + DigitalIn BAE_I2C_GPIO(PIN67); + DigitalOut CDMS_I2C_GPIO(PIN39); + #endif // TC LIST #define TCL_STATE_INCOMPLETE 0x00