From 426fc067b41c0843e19fd5d08c08e70b015c1390 Mon Sep 17 00:00:00 2001 From: Vadim Kaushan Date: Sun, 14 Jun 2020 14:33:44 +0300 Subject: [PATCH] Allow unused macros --- src/register/macros.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/register/macros.rs b/src/register/macros.rs index b71b4d4..6ae98c8 100644 --- a/src/register/macros.rs +++ b/src/register/macros.rs @@ -1,3 +1,5 @@ +#![allow(unused_macros)] + macro_rules! read_csr { ($csr_number:expr, $asm_fn: ident) => { /// Reads the CSR