common: Add the spi module.
[gps-watch.git] / src / common / lib.rs
index 2f7d8944c64935c531bca68061e228f9482d810c..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;
@@ -40,12 +41,6 @@ pub mod buffer;
 pub mod usb_serial;
 pub mod screen;
 pub mod display;
-
-use core::panic::PanicInfo;
-
-#[inline(never)]
-#[panic_handler]
-fn panic(_info: &PanicInfo) -> ! {
-    loop {
-    }
-}
+pub mod gps;
+pub mod fmt;
+pub mod time;