diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-07-07 11:39:34 -0500 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2021-07-07 11:39:34 -0500 |
commit | 6aa475c6310c609743a9a2005e7942050c396865 (patch) | |
tree | 18be7369829badfef35a6c337005e875049027e5 /src/flash.c | |
parent | f308c79eba1ba8e6bc2134529a2e4f4f21c9c2c2 (diff) |
Sese's vacation work
Diffstat (limited to 'src/flash.c')
-rw-r--r-- | src/flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash.c b/src/flash.c index 11520b4..c27a45e 100644 --- a/src/flash.c +++ b/src/flash.c @@ -5,13 +5,13 @@ extern u8 gFlashEnabled; -extern FlashIntrFunc *sub_800B6E8(s32); +extern FlashIntrFunc *GetInterruptCallback(s32); static u8 TryProgramSector(s32, u8 *); void InitFlash(void) { - if (!IdentifyFlash() && !SetFlashTimerIntr(2, sub_800B6E8(3))) + if (!IdentifyFlash() && !SetFlashTimerIntr(2, GetInterruptCallback(3))) gFlashEnabled = TRUE; } |