mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-30 22:01:11 +00:00
Fix entry macro for ULP hal (#1488)
This commit is contained in:
parent
5f79be6c9b
commit
866933bf6f
@ -507,7 +507,7 @@ pub fn entry(args: TokenStream, input: TokenStream) -> TokenStream {
|
|||||||
FoundCrate::Itself => quote!(esp_lp_hal),
|
FoundCrate::Itself => quote!(esp_lp_hal),
|
||||||
FoundCrate::Name(name) => {
|
FoundCrate::Name(name) => {
|
||||||
let ident = Ident::new(&name, Span::call_site());
|
let ident = Ident::new(&name, Span::call_site());
|
||||||
quote!( #ident::Something )
|
quote!( #ident )
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user