forked from M-Labs/artiq
1
0
Fork 0

firmware: fix non-DRTIO build

This commit is contained in:
Sebastien Bourdeauducq 2020-04-10 17:23:17 +08:00
parent ec7b2bea12
commit fb0ade77a9
1 changed files with 8 additions and 6 deletions

View File

@ -158,6 +158,7 @@ pub fn init() {
}
#[cfg(has_drtio)]
{
unsafe {
csr::drtio_transceiver::stable_clkin_write(1);
}
@ -165,6 +166,7 @@ pub fn init() {
unsafe {
csr::drtio_transceiver::txenable_write(0xffffffffu32 as _);
}
}
#[cfg(has_rtio_crg)]
{