From 104b8e859faab5f2cb996a26df8ed949738a664a Mon Sep 17 00:00:00 2001 From: Aurora Date: Fri, 2 Sep 2016 14:27:56 +0200 Subject: [PATCH] mcuReboot now checks for isFirmlaunch --- source/firm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/firm.c b/source/firm.c index 18f7097..2364b9e 100755 --- a/source/firm.c +++ b/source/firm.c @@ -75,10 +75,10 @@ void main(void) //Determine if this is a firmlaunch boot if(launchedFirmTidLow[5] != 0) { - if(needConfig == CREATE_CONFIGURATION) mcuReboot(); - isFirmlaunch = true; + if(needConfig == CREATE_CONFIGURATION) mcuReboot(); + //'0' = NATIVE_FIRM, '1' = TWL_FIRM, '2' = AGB_FIRM firmType = launchedFirmTidLow[7] == u'3' ? SAFE_FIRM : (FirmwareType)(launchedFirmTidLow[5] - u'0');