From 3c1048830bb6f543cb832049e969301a9a389fa2 Mon Sep 17 00:00:00 2001 From: Oliver Graf Date: Mon, 12 Feb 2024 13:44:39 +0100 Subject: [PATCH] fix(megaflash): initialize slot0 erase list with ff fro bringup #783 --- src/utilities/mf_hlflash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/mf_hlflash.c b/src/utilities/mf_hlflash.c index 8259bb8b5..ee67bad31 100644 --- a/src/utilities/mf_hlflash.c +++ b/src/utilities/mf_hlflash.c @@ -22,7 +22,7 @@ uint8_t mfhf_slot_mb = 1; uint32_t mfhf_slot_size = 1L << 20; -uint8_t mfhf_slot0_erase_list[16]; +uint8_t mfhf_slot0_erase_list[16] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; uint8_t mfhf_core_file_state = MFHF_LC_NOTLOADED;