mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 21:08:35 -07:00
Merge branch 'ofw-dev' into dev
This commit is contained in:
@@ -128,14 +128,13 @@ void furi_hal_interrupt_set_isr_ex(
|
||||
FuriHalInterruptISR isr,
|
||||
void* context) {
|
||||
furi_check(index < FuriHalInterruptIdMax);
|
||||
furi_check(priority < 15);
|
||||
furi_check(priority <= 15);
|
||||
|
||||
if(isr) {
|
||||
// Pre ISR set
|
||||
furi_check(furi_hal_interrupt_isr[index].isr == NULL);
|
||||
} else {
|
||||
// Pre ISR clear
|
||||
furi_check(furi_hal_interrupt_isr[index].isr != NULL);
|
||||
furi_hal_interrupt_disable(index);
|
||||
furi_hal_interrupt_clear_pending(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user