aboutsummaryrefslogtreecommitdiff
path: root/startup/Cstartup_SAM7.c
diff options
context:
space:
mode:
Diffstat (limited to 'startup/Cstartup_SAM7.c')
-rw-r--r--startup/Cstartup_SAM7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/startup/Cstartup_SAM7.c b/startup/Cstartup_SAM7.c
index c0a7da4..1498e82 100644
--- a/startup/Cstartup_SAM7.c
+++ b/startup/Cstartup_SAM7.c
@@ -51,7 +51,7 @@ void AT91F_LowLevelInit( void) SECTION_ICODE
// 1 Enabling the Main Oscillator:
// SCK = 1/32768 = 30.51 uSecond
// Start up time = 8 * 6 / SCK = 56 * 30.51 = 1,46484375 ms
- pPMC->PMC_MOR = (( AT91C_CKGR_OSCOUNT & (0x06 <<8) | AT91C_CKGR_MOSCEN ));
+ pPMC->PMC_MOR = (( (AT91C_CKGR_OSCOUNT & (0x06 <<8)) | AT91C_CKGR_MOSCEN ));
// Wait the startup time
while(!(pPMC->PMC_SR & AT91C_PMC_MOSCS));