Add missing wait for GPIO ready.

This commit is contained in:
whitequark 2017-05-05 07:53:12 +00:00
parent 3bbccdce58
commit 8fa7ba9a8d
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ fn main() {
while !sysctl.prgpio.read().r5().bit() {}
while !sysctl.prgpio.read().r6().bit() {}
while !sysctl.prgpio.read().r9().bit() {}
while !sysctl.prgpio.read().r13().bit() {}
// Set up LEDs
let gpio_k = tm4c129x::GPIO_PORTK.borrow(cs);