From 3adda3c7664b92e0a14ceb446a2082933647ba52 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Sat, 20 Mar 2021 08:38:37 +0100 Subject: Updated schedule example with all combinations --- macros/src/codegen/module.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'macros/src/codegen/module.rs') diff --git a/macros/src/codegen/module.rs b/macros/src/codegen/module.rs index 5a594c6..e15aab1 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 { -- cgit v1.2.3