board: wait gpio portb ready

This commit is contained in:
Astro 2019-09-01 22:46:15 +02:00
parent fad1050556
commit 5ba09db517

View File

@ -49,6 +49,7 @@ pub fn init() {
.r14().bit(true) .r14().bit(true)
}); });
while !sysctl.prgpio.read().r0().bit() {} while !sysctl.prgpio.read().r0().bit() {}
while !sysctl.prgpio.read().r1().bit() {}
while !sysctl.prgpio.read().r3().bit() {} while !sysctl.prgpio.read().r3().bit() {}
while !sysctl.prgpio.read().r4().bit() {} while !sysctl.prgpio.read().r4().bit() {}
while !sysctl.prgpio.read().r5().bit() {} while !sysctl.prgpio.read().r5().bit() {}