diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-07 12:01:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-07 12:01:18 +0000 |
| commit | 6c8257bb73de0f68072467447692a1f7dff555f9 (patch) | |
| tree | 815ee7267e0661532f9c3ad13021b5293efd994f /macros/src/codegen/util.rs | |
| parent | 3c86d713a6f8fdb052de80380a17468090e42624 (diff) | |
| parent | ae691952c328757113047bf696e934316789b844 (diff) | |
Merge #456
456: Cancel/reschedule support for monotonics r=AfoHT a=korken89
Design document: https://hackmd.io/lhUCzrKBS-66aadO4KsSzw?view
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Diffstat (limited to 'macros/src/codegen/util.rs')
| -rw-r--r-- | macros/src/codegen/util.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/src/codegen/util.rs b/macros/src/codegen/util.rs index 6589f62..9ccdbf7 100644 --- a/macros/src/codegen/util.rs +++ b/macros/src/codegen/util.rs @@ -89,6 +89,11 @@ pub fn interrupt_ident() -> Ident { Ident::new("interrupt", span) } +pub fn timer_queue_marker_ident() -> Ident { + let span = Span::call_site(); + Ident::new("TIMER_QUEUE_MARKER", span) +} + /// Whether `name` is an exception with configurable priority pub fn is_exception(name: &Ident) -> bool { let s = name.to_string(); |
