aboutsummaryrefslogtreecommitdiff
path: root/lib/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/flash.c')
-rw-r--r--lib/flash.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/flash.c b/lib/flash.c
index 1c13a9b..c5e8469 100644
--- a/lib/flash.c
+++ b/lib/flash.c
@@ -21,22 +21,22 @@
void flash_prefetch_buffer_enable(void)
{
- FLASH_ACR |= PRFTBE;
+ FLASH_ACR |= FLASH_PRFTBE;
}
void flash_prefetch_buffer_disable(void)
{
- FLASH_ACR &= ~PRFTBE;
+ FLASH_ACR &= ~FLASH_PRFTBE;
}
void flash_halfcycle_enable(void)
{
- FLASH_ACR |= HLFCYA;
+ FLASH_ACR |= FLASH_HLFCYA;
}
void flash_halfcycle_disable(void)
{
- FLASH_ACR &= ~HLFCYA;
+ FLASH_ACR &= ~FLASH_HLFCYA;
}
void flash_set_ws(u32 ws)