Fixing CI

This commit is contained in:
Ryan Summers 2021-01-06 15:04:06 +01:00
parent e9cef7bbac
commit 18068082ac
2 changed files with 3 additions and 0 deletions

View File

@ -32,8 +32,10 @@ pub const DDS_REF_CLK: MegaHertz = MegaHertz(100);
pub const DDS_MULTIPLIER: u8 = 5; pub const DDS_MULTIPLIER: u8 = 5;
/// The DDS system clock frequency after the internal PLL multiplication. /// The DDS system clock frequency after the internal PLL multiplication.
#[allow(dead_code)]
pub const DDS_SYSTEM_CLK: MegaHertz = pub const DDS_SYSTEM_CLK: MegaHertz =
MegaHertz(DDS_REF_CLK.0 * DDS_MULTIPLIER as u32); MegaHertz(DDS_REF_CLK.0 * DDS_MULTIPLIER as u32);
/// The divider from the DDS system clock to the SYNC_CLK output (sync-clk is always 1/4 of sysclk). /// The divider from the DDS system clock to the SYNC_CLK output (sync-clk is always 1/4 of sysclk).
#[allow(dead_code)]
pub const DDS_SYNC_CLK_DIV: u8 = 4; pub const DDS_SYNC_CLK_DIV: u8 = 4;

View File

@ -30,6 +30,7 @@ extern crate panic_halt;
#[macro_use] #[macro_use]
extern crate log; extern crate log;
#[allow(unused_imports)]
use core::convert::TryInto; use core::convert::TryInto;
// use core::sync::atomic::{AtomicU32, AtomicBool, Ordering}; // use core::sync::atomic::{AtomicU32, AtomicBool, Ordering};