Browse Source

soc: ambiq: workaround for issue #90777

This commit workarounds issue #90777

Signed-off-by: Hao Luo <hluo@ambiq.com>
pull/90776/head
Hao Luo 4 weeks ago committed by Benjamin Cabé
parent
commit
a54197b2f8
  1. 4
      soc/ambiq/apollo5x/soc.c

4
soc/ambiq/apollo5x/soc.c

@ -48,9 +48,9 @@ void soc_early_init_hook(void) @@ -48,9 +48,9 @@ void soc_early_init_hook(void)
/*
* Set default temperature for spotmgr to room temperature
*/
am_hal_pwrctrl_temp_thresh_t dummy;
am_hal_pwrctrl_temp_thresh_t dummy[32];
am_hal_pwrctrl_temp_update(25.0f, &dummy);
am_hal_pwrctrl_temp_update(25.0f, dummy);
/* Enable Icache*/
sys_cache_instr_enable();

Loading…
Cancel
Save