drivers: clock_control: wch_rcc: remove duplicate reg write
Removed a redundant register write to FLASH->ACTLR Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
08d496b5f5
commit
ec01159440
1 changed files with 0 additions and 1 deletions
|
@ -98,7 +98,6 @@ static void clock_control_wch_rcc_setup_flash(void)
|
|||
} else {
|
||||
latency = FLASH_ACTLR_LATENCY_2;
|
||||
}
|
||||
FLASH->ACTLR = (FLASH->ACTLR & ~FLASH_ACTLR_LATENCY) | latency;
|
||||
#else
|
||||
#error Unrecognised SOC family
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue