aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/TIVA/TM4C129x/hal_lld.c
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2015-02-16 21:53:32 +0100
committermarcoveeneman <marco-veeneman@hotmail.com>2015-02-16 21:53:32 +0100
commit5dab4ce8c2d24114af0ff76adf58bbb383b6ac1b (patch)
tree439edebf6e5da02c4ab9c692a544e63eed5f3b99 /os/hal/ports/TIVA/TM4C129x/hal_lld.c
parent409438079521ae252586a489aa6872d7331c5d51 (diff)
parent7b73ccd1d023a9db2b96e1563bbe995806d7356b (diff)
downloadChibiOS-Contrib-5dab4ce8c2d24114af0ff76adf58bbb383b6ac1b.tar.gz
ChibiOS-Contrib-5dab4ce8c2d24114af0ff76adf58bbb383b6ac1b.tar.bz2
ChibiOS-Contrib-5dab4ce8c2d24114af0ff76adf58bbb383b6ac1b.zip
Merge branch 'tm4c129x_ethernet'
Diffstat (limited to 'os/hal/ports/TIVA/TM4C129x/hal_lld.c')
-rw-r--r--os/hal/ports/TIVA/TM4C129x/hal_lld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/TIVA/TM4C129x/hal_lld.c b/os/hal/ports/TIVA/TM4C129x/hal_lld.c
index 3bfe485..4f2a968 100644
--- a/os/hal/ports/TIVA/TM4C129x/hal_lld.c
+++ b/os/hal/ports/TIVA/TM4C129x/hal_lld.c
@@ -109,8 +109,8 @@ void tiva_clock_init(void)
* 6. Write the PLLFREQ0 and PLLFREQ1 registers with the values of Q, N, MINT, and MFRAC to
* the configure the desired VCO frequency setting.
*/
- SYSCTL->PLLFREQ[1] = (0x04 << 0); // 5 - 1
- SYSCTL->PLLFREQ[0] = (0x60 << 0) | PLLFREQ0_PLLPWR;
+ SYSCTL->PLLFREQ1 = (0x04 << 0); // 5 - 1
+ SYSCTL->PLLFREQ0 = (0x60 << 0) | PLLFREQ0_PLLPWR;
/*
* 7. Write the MEMTIM0 register to correspond to the new system clock setting.