summaryrefslogtreecommitdiff
path: root/arm9/lib/include/OS_interrupt.h
diff options
context:
space:
mode:
authorMade <made111@gmx.de>2020-05-15 04:17:23 +0200
committerMade <made111@gmx.de>2020-05-15 04:17:23 +0200
commit4da3a82551b27f94c2f493fbf01cf58db711c03e (patch)
tree1ff9fd6cd8d79402abb9286bbd622901d33a4b54 /arm9/lib/include/OS_interrupt.h
parenta92d77224c8ec645752a56aa35cc8a8457cd4cd3 (diff)
parent0252f2028d60248db23770a6a33030b40fbcee1e (diff)
Merge branch 'master' of https://github.com/martmists/pokediamond
Diffstat (limited to 'arm9/lib/include/OS_interrupt.h')
-rw-r--r--arm9/lib/include/OS_interrupt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arm9/lib/include/OS_interrupt.h b/arm9/lib/include/OS_interrupt.h
index b8425b4e..21ce2ea0 100644
--- a/arm9/lib/include/OS_interrupt.h
+++ b/arm9/lib/include/OS_interrupt.h
@@ -19,11 +19,12 @@ typedef struct
typedef u32 OSIrqMask;
extern OSIrqFunction OS_IRQTable[];
-extern OSIrqCallbackInfo OSi_IrqCallbackInfo[7+1];
+extern OSIrqCallbackInfo OSi_IrqCallbackInfo[8];
void OS_InitIrqTable();
void OS_SetIrqFunction(OSIrqMask intrBit, OSIrqFunction function);
OSIrqFunction OS_GetIrqFunction(OSIrqMask intrBit);
void OSi_EnterDmaCallback(u32 dmaNo, void (*callback) (void *), void *arg);
+void OSi_EnterTimerCallback(u32 timerNo, void (*callback) (void *), void *arg);
#endif //POKEDIAMOND_OS_INTERRUPT_H