fix zc706 compilation warning #261
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#261
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "morgan/artiq-zynq:fix_zc_warning"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Summary
fix compilation warning related to
core::cell::RefCell
,i2c_bus
andRTIO_I_STATUS_WAIT_STATUS
compilation check
-run
nix build <variant> -L
for zc706-acpki_nist_clock, zc706-acpki_nist_clock_master, zc706-acpki_nist_clock_satellite and all built successfullyCompilation warning before patch
@ -143,6 +144,7 @@ pub fn main_core0() {
info!("gateware ident: {}", identifier_read(&mut [0; 64]));
i2c::init();
#[allow(unused)]
Why would it be okay to leave this unused?
morgan referenced this pull request2023-10-24 11:06:37 +08:00