mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-01 16:04:33 +01:00
Do not limit async priority with NVIC_PRIO_BITS
when targeting ESP32-C3 (#996)
* Remove reference to `NVIC_PRIO_BITS` for ESP32-C3 codegen bindings * Update `CHANGELOG.md`
This commit is contained in:
parent
ed026cc4a3
commit
8678d424fd
2 changed files with 2 additions and 3 deletions
|
@ -17,6 +17,7 @@ For each category, *Added*, *Changed*, *Fixed* add new entries at the top!
|
|||
### Fixed
|
||||
|
||||
- Fix interrupt handlers when targeting esp32c3 and using latest version of esp-hal
|
||||
- Do not limit async priority with `NVIC_PRIO_BITS` when targeting esp32c3
|
||||
|
||||
## [v2.1.0] - 2024-02-27
|
||||
|
||||
|
|
|
@ -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