mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +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 {
|
||||
quote!(#max)
|
||||
} else {
|
||||
// No limit
|
||||
let device = &app.args.device;
|
||||
quote!(1 << #device::NVIC_PRIO_BITS)
|
||||
quote!(u8::MAX) // No limit
|
||||
};
|
||||
|
||||
vec![quote!(
|
||||
|
|
Loading…
Reference in a new issue