Skip to content
Snippets Groups Projects
Commit 4a339ab6 authored by patacongo's avatar patacongo
Browse files

back out part of last change

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1785 42af7a65-404d-4744-a932-0658087f49c3
parent 5e8842f1
No related branches found
No related tags found
No related merge requests found
......@@ -210,10 +210,9 @@ void lm3s_clockconfig(uint32 newrcc, uint32 newrcc2)
if (((rcc & SYSCON_RCC_MOSCDIS) && !(newrcc & SYSCON_RCC_MOSCDIS)) ||
((rcc & SYSCON_RCC_IOSCDIS) && !(newrcc & SYSCON_RCC_IOSCDIS)))
{
/* Enable any selected osciallators */
/* Enable any selected osciallators (but don't disable any yet) */
rcc &= ~RCC_OSCMASK;
rcc |= (newrcc & RCC_OSCMASK);
rcc &= (~RCC_OSCMASK | (newrcc & RCC_OSCMASK));
putreg32(rcc, LM3S_SYSCON_RCC);
/* Wait for the newly selected oscillator(s) to settle. This is tricky because
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment