mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 22:15:07 +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(|_| {
|
rtic::export::interrupt::free(|_| {
|
||||||
use rtic::Monotonic as _;
|
use rtic::Monotonic as _;
|
||||||
use rtic::time::Clock 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() {
|
if let Ok(v) = m.try_now() {
|
||||||
v
|
v
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue