aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/util.rs
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2020-10-14 20:27:43 +0200
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2020-10-15 16:06:30 +0200
commit48abc26e8577e6b57c46dce40e63022fac2c9375 (patch)
tree7073205b076f168b1c6f5782a278abf11eb7746f /macros/src/codegen/util.rs
parent1db5faad62c89cff19d2a94c8ce7b98bac9439ac (diff)
downloadrtic-48abc26e8577e6b57c46dce40e63022fac2c9375.tar.gz
rtic-48abc26e8577e6b57c46dce40e63022fac2c9375.tar.zst
rtic-48abc26e8577e6b57c46dce40e63022fac2c9375.zip
Detect if the rt flag is defined in the PAC/HAL
Better error message Improved error string Update UI tests
Diffstat (limited to 'macros/src/codegen/util.rs')
-rw-r--r--macros/src/codegen/util.rs2
1 files changed, 1 insertions, 1 deletions
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