- #define PDIDATA_LINE_PORT PORTB\r
- #define PDIDATA_LINE_DDR DDRB\r
- #define PDIDATA_LINE_PIN PINB\r
- #define PDIDATA_LINE_MASK (1 << 2)\r
+ #if BOARD == BOARD_XPLAIN\r
+ #define PDIDATA_LINE_PORT PORTD\r
+ #define PDIDATA_LINE_DDR DDRD\r
+ #define PDIDATA_LINE_PIN PIND\r
+ #define PDIDATA_LINE_MASK (1 << 2)\r
+ \r
+ #define PDICLOCK_LINE_PORT PORTD\r
+ #define PDICLOCK_LINE_DDR DDRD\r
+ #define PDICLOCK_LINE_MASK (1 << 5)\r
+ #else\r
+ #define PDIDATA_LINE_PORT PORTB\r
+ #define PDIDATA_LINE_DDR DDRB\r
+ #define PDIDATA_LINE_PIN PINB\r
+ #define PDIDATA_LINE_MASK (1 << 2)\r
+ \r
+ #define PDICLOCK_LINE_PORT RESET_LINE_PORT\r
+ #define PDICLOCK_LINE_DDR RESET_LINE_DDR\r
+ #define PDICLOCK_LINE_MASK RESET_LINE_MASK\r
+ #endif\r