mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
wip2 (one error to go)
This commit is contained in:
parent
78a6d84420
commit
1769a83fad
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ pub fn app(app: &App, analysis: &Analysis, extra: &Extra) -> TokenStream2 {
|
|||
rtic::export::interrupt::free(|_| {
|
||||
use rtic::Monotonic as _;
|
||||
use rtic::time::Clock as _;
|
||||
if let Some(m) = unsafe{ #app_path::#ident.as_ref() } {
|
||||
if let Some(m) = unsafe{ #app_path::#ident.get_mut_unchecked().as_ref() } {
|
||||
if let Ok(v) = m.try_now() {
|
||||
v
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue