diff options
author | 2021-03-20 08:38:37 +0100 | |
---|---|---|
committer | 2021-03-22 08:24:18 +0100 | |
commit | 3adda3c7664b92e0a14ceb446a2082933647ba52 (patch) | |
tree | 6f80d0de1f86889954bb14c42a4383912d7ca478 /macros/src/codegen/module.rs | |
parent | 53c407017f50d0fde17d38afed714b2fcb54194b (diff) | |
download | rtic-3adda3c7664b92e0a14ceb446a2082933647ba52.tar.gz rtic-3adda3c7664b92e0a14ceb446a2082933647ba52.tar.zst rtic-3adda3c7664b92e0a14ceb446a2082933647ba52.zip |
Updated schedule example with all combinations
Diffstat (limited to 'macros/src/codegen/module.rs')
-rw-r--r-- | macros/src/codegen/module.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/macros/src/codegen/module.rs b/macros/src/codegen/module.rs index 5a594c66..e15aab1c 100644 --- a/macros/src/codegen/module.rs +++ b/macros/src/codegen/module.rs @@ -319,18 +319,6 @@ pub fn codegen( marker: u32, } - // TODO: remove - impl core::fmt::Debug for SpawnHandle - { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - let handle = unsafe { &#app_path::#tq as *const _ as u32 }; - f.debug_struct("SpawnHandle") - .field("marker", &self.marker) - .field("handle", &handle) - .finish() - } - } - impl SpawnHandle { pub fn cancel(self) -> Result<#ty, ()> { rtic::export::interrupt::free(|_| unsafe { |