Skip to content

Commit

Permalink
Remove reference to NVIC_PRIO_BITS for ESP32-C3 codegen bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebraham committed Nov 12, 2024
1 parent d251ba7 commit 7d52d94
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rtic-macros/src/codegen/bindings/esp32c3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down

0 comments on commit 7d52d94

Please sign in to comment.