summaryrefslogtreecommitdiff
path: root/src/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash.c')
-rw-r--r--src/flash.c4
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;
}