forked from M-Labs/artiq
style
This commit is contained in:
parent
87ce24e867
commit
66a66b03b4
@ -147,16 +147,11 @@ pub fn init() {
|
||||
#[cfg(has_rtio_crg)]
|
||||
{
|
||||
#[cfg(has_rtio_clock_switch)]
|
||||
{
|
||||
if !crg::init(get_rtio_clock_cfg()) {
|
||||
error!("RTIO clock failed");
|
||||
}
|
||||
}
|
||||
let result = !crg::init(get_rtio_clock_cfg());
|
||||
#[cfg(not(has_rtio_clock_switch))]
|
||||
{
|
||||
if !crg::init() {
|
||||
error!("RTIO clock failed");
|
||||
}
|
||||
let result = !crg::init();
|
||||
if !result {
|
||||
error!("RTIO clock failed");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user