Skip to content

Commit a54197b

Browse files
AlessandroLuokartben
authored andcommitted
soc: ambiq: workaround for issue #90777
This commit workarounds issue #90777 Signed-off-by: Hao Luo <hluo@ambiq.com>
1 parent 2e7ec2b commit a54197b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

soc/ambiq/apollo5x/soc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ void soc_early_init_hook(void)
4848
/*
4949
* Set default temperature for spotmgr to room temperature
5050
*/
51-
am_hal_pwrctrl_temp_thresh_t dummy;
51+
am_hal_pwrctrl_temp_thresh_t dummy[32];
5252

53-
am_hal_pwrctrl_temp_update(25.0f, &dummy);
53+
am_hal_pwrctrl_temp_update(25.0f, dummy);
5454

5555
/* Enable Icache*/
5656
sys_cache_instr_enable();

0 commit comments

Comments
 (0)