From a63d328e8314b2d98f7074b5b38c9e815bafdbca Mon Sep 17 00:00:00 2001 From: Polprzewodnikowy Date: Fri, 19 Aug 2022 12:03:10 +0200 Subject: [PATCH] boot fix --- sw/controller/src/cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/controller/src/cfg.c b/sw/controller/src/cfg.c index 193025b..c1c8337 100644 --- a/sw/controller/src/cfg.c +++ b/sw/controller/src/cfg.c @@ -285,7 +285,7 @@ void cfg_set_time (uint32_t *args) { } void cfg_init (void) { - fpga_reg_set(REG_CFG_SCR, 0); + fpga_reg_set(REG_CFG_SCR, CFG_SCR_BOOTLOADER_ENABLED); cfg_set_save_type(SAVE_TYPE_NONE); p.cic_seed = CIC_SEED_UNKNOWN;