From 48abc26e8577e6b57c46dce40e63022fac2c9375 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Wed, 14 Oct 2020 20:27:43 +0200 Subject: Detect if the rt flag is defined in the PAC/HAL Better error message Improved error string Update UI tests --- macros/src/codegen/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/src/codegen/util.rs') diff --git a/macros/src/codegen/util.rs b/macros/src/codegen/util.rs index 2f9f3cce..41ee3ca7 100644 --- a/macros/src/codegen/util.rs +++ b/macros/src/codegen/util.rs @@ -83,7 +83,7 @@ pub fn instants_ident(task: &Ident) -> Ident { pub fn interrupt_ident() -> Ident { let span = Span::call_site(); - Ident::new("Interrupt", span) + Ident::new("interrupt", span) } /// Whether `name` is an exception with configurable priority -- cgit v1.2.3