Skip to content

Commit 870143f

Browse files
committed
stm32: Disable TCMFLEX Power retention.
1 parent abfbcf1 commit 870143f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ports/stm32/boards/OPENMV_N6

ports/stm32/boards/OPENMV_N6/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void board_early_init(void) {
119119

120120
void board_enter_standby(void) {
121121
HAL_PWREx_EnableTCMRetention();
122-
HAL_PWREx_EnableTCMFLXRetention();
122+
HAL_PWREx_DisableTCMFLXRetention();
123123

124124
uint32_t *boot_mem = (uint32_t *)_boot_mem;
125125
boot_mem[0] = (uint32_t)(_boot_mem + sizeof(_boot_mem));

0 commit comments

Comments
 (0)