Moving panic configuration

master
Ryan Summers 2021-01-18 16:55:56 +01:00
parent 8dd72ae75e
commit 6618e921fe
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,12 @@
///! Module for all hardware-specific setup of Stabilizer
use stm32h7xx_hal as hal;
#[cfg(feature = "semihosting")]
use panic_semihosting as _;
#[cfg(not(any(feature = "nightly", feature = "semihosting")))]
use panic_halt as _;
mod adc;
mod afe;
mod configuration;

View File

@ -5,12 +5,6 @@
use stm32h7xx_hal as hal;
#[cfg(feature = "semihosting")]
use panic_semihosting as _;
#[cfg(not(any(feature = "nightly", feature = "semihosting")))]
use panic_halt as _;
#[macro_use]
extern crate log;