#include <htc.h>
-#define UNUSED_PORTA 0b00000000
+#define UNUSED_PORTA 0b11111111
+#define UNUSED_PORTC 0b11111000
/* Initialize unused resources. */
#define unused_init() do { \
nWPUEN = 0; /* enable weak pull-ups on PortB */ \
PORTA |= UNUSED_PORTA; /* set unused PortA pins ... */ \
TRISA &= ~UNUSED_PORTA; /* ... to output high. */ \
+ PORTC |= UNUSED_PORTC; /* set unused PortC pins ... */ \
+ TRISC &= ~UNUSED_PORTC; /* ... to output high. */ \
} while (0)
#endif