]> patrickod personal git archive - tincan.git/blobdiff - rs-lorachat/src/main.rs
working main.rs build
[tincan.git] / rs-lorachat / src / main.rs
index 89ad86887f19693e0dee1ae09d39d68f844fa337..13315528f96daf9fd49e0715381560245defe598 100644 (file)
@@ -1,16 +1,12 @@
 #![no_std]
 #![no_main]
 
-extern crate cortex_m;
-extern crate feather_m0 as hal;
-extern crate panic_halt;
-extern crate usb_device;
-extern crate usbd_serial;
+use panic_halt as _;
+use feather_m0 as hal;
+use hal::entry;
 
 use hal::clock::GenericClockController;
-use hal::entry;
 use hal::pac::{interrupt, CorePeripherals, Peripherals};
-use hal::prelude::*;
 
 use hal::usb::UsbBus;
 use usb_device::bus::UsbBusAllocator;
@@ -98,4 +94,4 @@ fn poll_usb() {
 #[interrupt]
 fn USB() {
     poll_usb();
-}
+}
\ No newline at end of file