forked from M-Labs/artiq
firmware: conditionally compile has_si5324
avoids unused warnings where this module is not used.
This commit is contained in:
parent
c03c35f375
commit
71b3c66af9
|
@ -25,10 +25,7 @@ pub mod mailbox;
|
||||||
#[cfg(has_kernel_cpu)]
|
#[cfg(has_kernel_cpu)]
|
||||||
pub mod rpc_queue;
|
pub mod rpc_queue;
|
||||||
|
|
||||||
#[cfg(any(soc_platform = "kasli",
|
#[cfg(any(soc_platform = "kasli", has_si5324))]
|
||||||
soc_platform = "sayma_amc",
|
|
||||||
soc_platform = "sayma_rtm",
|
|
||||||
soc_platform = "kc705"))]
|
|
||||||
mod pca9548;
|
mod pca9548;
|
||||||
#[cfg(has_si5324)]
|
#[cfg(has_si5324)]
|
||||||
pub mod si5324;
|
pub mod si5324;
|
||||||
|
|
Loading…
Reference in New Issue