forked from M-Labs/ionpak-thermostat
board: wait gpio portb ready
This commit is contained in:
parent
fad1050556
commit
5ba09db517
|
@ -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() {}
|
||||||
|
|
Loading…
Reference in New Issue