Index: firmware/App/Drivers/CPLD.c =================================================================== diff -u -r90f6438e80dbe0a32472a076a0d1bc54db65d15a -rbe83f01a4d54cbd0d92b68cb95a15dcbb06a9a51 --- firmware/App/Drivers/CPLD.c (.../CPLD.c) (revision 90f6438e80dbe0a32472a076a0d1bc54db65d15a) +++ firmware/App/Drivers/CPLD.c (.../CPLD.c) (revision be83f01a4d54cbd0d92b68cb95a15dcbb06a9a51) @@ -22,12 +22,6 @@ #include "WatchdogMgmt.h" #include "CPLD.h" -//#ifdef _VECTORCAST_ -// static mibspiBASE_t spi5; -// #undef mibspiREG5 -// #define mibspiREG5 ((mibspiBASE_t *)&spi5) -//#endif - // ********** private definitions ********** // GIO port A pin assignments for pins connected to CPLD @@ -234,6 +228,10 @@ { PIN_SIGNAL_STATE_T level = GET_OFF(); +#ifdef RM46_EVAL_BOARD_TARGET + level = (level == PIN_SIGNAL_LOW ? PIN_SIGNAL_HIGH : PIN_SIGNAL_LOW); +#endif + return level; } @@ -251,6 +249,10 @@ { PIN_SIGNAL_STATE_T level = GET_STOP(); +#ifdef RM46_EVAL_BOARD_TARGET + level = (level == PIN_SIGNAL_LOW ? PIN_SIGNAL_HIGH : PIN_SIGNAL_LOW); +#endif + return level; }