chg: OR in values.

This commit is contained in:
Chris 2018-07-02 18:54:12 +02:00
commit 35b7989b1c
3 changed files with 3 additions and 9 deletions

View file

@ -29,7 +29,7 @@ static void ConfigClocks(void) {
// slow clock runs at 32Khz typical regardless of crystal
// enable system clock and USB clock
AT91C_BASE_PMC->PMC_SCER = AT91C_PMC_PCK | AT91C_PMC_UDP;
AT91C_BASE_PMC->PMC_SCER |= AT91C_PMC_PCK | AT91C_PMC_UDP;
// enable the clock to the following peripherals
AT91C_BASE_PMC->PMC_PCER =