forked from M-Labs/artiq
grabber: cleanup GRABBER_STATE
This commit is contained in:
parent
fb96c1140e
commit
19c51c644e
|
@ -7,7 +7,7 @@ enum State {
|
|||
Up
|
||||
}
|
||||
|
||||
static mut GRABBER_STATE: &'static mut [State] = &mut [State::Down; csr::GRABBER_LEN];
|
||||
static mut GRABBER_STATE: [State; csr::GRABBER_LEN] = [State::Down; csr::GRABBER_LEN];
|
||||
|
||||
fn get_pll_reset(g: usize) -> bool {
|
||||
unsafe { (csr::GRABBER[g].pll_reset_read)() != 0 }
|
||||
|
|
Loading…
Reference in New Issue