mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
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)]
|
||||
pub mod rpc_queue;
|
||||
|
||||
#[cfg(any(soc_platform = "kasli",
|
||||
soc_platform = "sayma_amc",
|
||||
soc_platform = "sayma_rtm",
|
||||
soc_platform = "kc705"))]
|
||||
#[cfg(any(soc_platform = "kasli", has_si5324))]
|
||||
mod pca9548;
|
||||
#[cfg(has_si5324)]
|
||||
pub mod si5324;
|
||||
|
Loading…
Reference in New Issue
Block a user