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:
parent
8512ca74b1
commit
ae9ff3bc67
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user