Skip to content

Commit

Permalink
fix: compile error, wrong import
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jan 1, 2024
1 parent c6f1e1a commit ad102fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/hardfault.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use hal::rtc::{DateTime, Rtc};
use hal::sysctl::Config;
use hal::uart::UartTx;
use hal::{pac, peripherals, Peripherals};
use qingke::riscv;
use {ch58x_hal as hal, panic_halt as _};

static mut SERIAL: Option<UartTx<peripherals::UART1>> = None;
Expand Down
1 change: 1 addition & 0 deletions examples/serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
use core::arch::{asm, global_asm};
use core::fmt::Write;
use core::writeln;
use qingke::riscv;

use embedded_hal_1::delay::DelayNs;
use hal::dma::NoDma;
Expand Down

0 comments on commit ad102fe

Please sign in to comment.