diff options
author | Brian Cully <bjc@kublai.com> | 2019-08-18 08:36:31 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2019-08-18 08:36:31 -0400 |
commit | 54acc36f96922c5f7eeb969313c9a556101f5b7b (patch) | |
tree | 06919c5b91d56e52e763342c92c5c550abbeb321 /examples/simple/macros.rs | |
parent | 45e0334a404cf4e155f483e7ad82232b15e4d475 (diff) | |
download | atsamd-usb-host-54acc36f96922c5f7eeb969313c9a556101f5b7b.tar.gz atsamd-usb-host-54acc36f96922c5f7eeb969313c9a556101f5b7b.zip |
Fix `cargo test` by removing example.
Unfortunate, but necessary for automated testing. Documentation will
need to be added to show usage, and a demo crate.
Diffstat (limited to 'examples/simple/macros.rs')
-rw-r--r-- | examples/simple/macros.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/examples/simple/macros.rs b/examples/simple/macros.rs deleted file mode 100644 index 46d2d07..0000000 --- a/examples/simple/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);} - }; - (_) => {}; -} |