X-Git-Url: https://git.patrickod.com/tor.noisebridge.net/diff/src/components/MoreInformation.js?a=blobdiff_plain;f=rs-lorachat%2Fsrc%2Fmain.rs;h=13315528f96daf9fd49e0715381560245defe598;hb=8b63499a590ecf56e52bb867684d2f669e575954;hp=89ad86887f19693e0dee1ae09d39d68f844fa337;hpb=99a9806b9b2b042d168f32ae10dd4b89a3295021;p=tincan.git diff --git a/rs-lorachat/src/main.rs b/rs-lorachat/src/main.rs index 89ad868..1331552 100644 --- a/rs-lorachat/src/main.rs +++ b/rs-lorachat/src/main.rs @@ -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