mbv: small refactor interrupts

This commit is contained in:
2025-06-24 23:02:38 -07:00
parent 6553fa04aa
commit d18d41fc02
6 changed files with 43 additions and 16 deletions

View File

@@ -4,3 +4,6 @@ using Isr = void(*)();
void SetExternalInterruptHandler(Isr handler);
void EnableExternalInterrupts();
/** Returns true if interrupts were enabled, false otherwise */
bool EnableInterrupts(bool on);