Remove reference to NVIC_PRIO_BITS for ESP32-C3 codegen bindings

This commit is contained in:
Jesse Braham 2024-11-12 20:04:14 +01:00
parent d251ba7173
commit 27ee3f1b1b

View file

@ -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!(