common: Add the spi module.
[gps-watch.git] / src / common / lib.rs
index e38ff52cf453971e4da618256bf09d7a8e2262ed..c74704c4ef5612b9f7803e31c146d6d0c030f2e8 100644 (file)
@@ -32,6 +32,7 @@ pub mod systick;
 pub mod port;
 pub mod gpio;
 pub mod i2c;
+pub mod spi;
 pub mod uart;
 pub mod watchdog;
 pub mod crc32;
@@ -43,12 +44,3 @@ pub mod display;
 pub mod gps;
 pub mod fmt;
 pub mod time;
-
-use core::panic::PanicInfo;
-
-#[inline(never)]
-#[panic_handler]
-fn panic(_info: &PanicInfo) -> ! {
-    loop {
-    }
-}