From b1ffa5f93c9dd6bb4bd5760b811841aad72c425b Mon Sep 17 00:00:00 2001 From: Pika <15848969+ThatNerdyPikachu@users.noreply.github.com> Date: Mon, 3 Sep 2018 10:43:22 -0400 Subject: [PATCH] memset on anything below 6 --- bootloader/hos/hos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootloader/hos/hos.c b/bootloader/hos/hos.c index c56fc21..8a6cbbf 100644 --- a/bootloader/hos/hos.c +++ b/bootloader/hos/hos.c @@ -644,7 +644,7 @@ int hos_launch(ini_sec_t *cfg) _free_launch_components(&ctxt); // Copy BCT if debug mode is enabled. - if (ctxt.pkg1_id->kb != KB_FIRMWARE_VERSION_600) + if (ctxt.pkg1_id->kb < KB_FIRMWARE_VERSION_600) memset((void *)0x4003D000, 0, 0x3000); if (ctxt.debugmode) _copy_bootconfig(&ctxt);