Skip to content

Commit

Permalink
fix: v305 demo build
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed May 5, 2024
1 parent c9217c1 commit 8bf5e4e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion examples/ch32v305/src/bin/rcc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ async fn main(spawner: Spawner) -> ! {
hal::debug::SDIPrint::enable();
let mut config = hal::Config::default();
{
use hal::rcc::v3::{Hse, HseMode, Pll, PllMul, PllPreDiv, PllSource, Sysclk};
use hal::rcc::*;

config.rcc = Config {
Expand Down
1 change: 0 additions & 1 deletion examples/ch32v305/src/bin/spi-lcd-st7735-cube.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ async fn main(_spawner: Spawner) -> ! {
println!("ok");
let mut config = hal::Config::default();
{
use hal::rcc::v3::{AHBPrescaler, APBPrescaler, Hse, HseMode, Pll, PllMul, PllPreDiv, PllSource, Sysclk};
use hal::rcc::*;

config.rcc = Config {
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ pub mod gpio;
pub mod i2c;
#[cfg(rng)]
pub mod rng;
pub mod signature;
pub mod spi;
#[cfg(sdio_v3)]
pub mod sdio;
pub mod signature;
pub mod spi;
#[cfg(any(timer_x0, timer_v3))]
pub mod timer;
pub mod usart;
Expand Down

0 comments on commit 8bf5e4e

Please sign in to comment.