diff options
-rw-r--r-- | setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -84,6 +84,9 @@ void setup(void) SET_BIT(SIM_SOPT2, SOPT2_PLLFLLSEL); SET_MASKED(SIM_SOPT2, SOPT2_CLKOUTSEL_M, 4 << SOPT2_CLKOUTSEL); + /* configure LED pin */ + PORTC_PCR(5) = 1 << PCR_MUX | BV(PCR_DSE); + GPIOC_PDDR = BV(5); usb_setup(); |