Fix lpc176x_clockconfig.c:213:16: error: variable 'regval' set but not used

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-10-31 22:16:11 +08:00 committed by Petro Karashchenko
parent 8512ca74b1
commit ae9ff3bc67

View File

@ -223,7 +223,7 @@ void lpc17_40_clockconfig(void)
regval |= BOARD_FLASHCFG_VALUE;
}
putreg32(BOARD_FLASHCFG_VALUE, LPC17_40_SYSCON_FLASHCFG);
putreg32(regval, LPC17_40_SYSCON_FLASHCFG);
}
#endif
}