aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/macros.rs
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-08-18 08:36:31 -0400
committerBrian Cully <bjc@kublai.com>2019-08-18 08:36:31 -0400
commit54acc36f96922c5f7eeb969313c9a556101f5b7b (patch)
tree06919c5b91d56e52e763342c92c5c550abbeb321 /examples/simple/macros.rs
parent45e0334a404cf4e155f483e7ad82232b15e4d475 (diff)
downloadatsamd-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.rs15
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);}
- };
- (_) => {};
-}