From 6aa475c6310c609743a9a2005e7942050c396865 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Wed, 7 Jul 2021 11:39:34 -0500 Subject: Sese's vacation work --- src/flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/flash.c') 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; } -- cgit v1.2.3