mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Remove reference to NVIC_PRIO_BITS
for ESP32-C3 codegen bindings
This commit is contained in:
parent
d251ba7173
commit
27ee3f1b1b
1 changed files with 1 additions and 3 deletions
|
@ -211,9 +211,7 @@ mod esp32c3 {
|
||||||
let max = if let Some(max) = analysis.max_async_prio {
|
let max = if let Some(max) = analysis.max_async_prio {
|
||||||
quote!(#max)
|
quote!(#max)
|
||||||
} else {
|
} else {
|
||||||
// No limit
|
quote!(u8::MAX) // No limit
|
||||||
let device = &app.args.device;
|
|
||||||
quote!(1 << #device::NVIC_PRIO_BITS)
|
|
||||||
};
|
};
|
||||||
|
|
||||||
vec![quote!(
|
vec![quote!(
|
||||||
|
|
Loading…
Reference in a new issue