From e405c474f5e0e94288191223de7ae0f31ae0b15f Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Sun, 4 Aug 2019 14:19:25 -0400 Subject: Migrate everything over to separate libraries. * `usb-host` is the crate containing the HAL traits. * `bootkbd` is a crate for a bare-bones boot protocol keyboard driver. * `samd21-host` is a crate with an implementation of `usb-host` for a SAMD21 platform, with an example for the trinket-m0 which uses the `bootkbd` driver to print keyboard reports. --- app/src/macros.rs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 app/src/macros.rs (limited to 'app/src/macros.rs') diff --git a/app/src/macros.rs b/app/src/macros.rs deleted file mode 100644 index 46d2d07..0000000 --- a/app/src/macros.rs +++ /dev/null @@ -1,15 +0,0 @@ -#[macro_export] -macro_rules! logln_now { - ($($arg:tt)*) => { - unsafe {crate::logger::write_fmt_now(format_args!($($arg)*), true);} - }; - (_) => {}; -} - -#[macro_export] -macro_rules! log_now { - ($($arg:tt)*) => { - unsafe {crate::logger::write_fmt_now(format_args!($($arg)*), false);} - }; - (_) => {}; -} -- cgit v1.3