diff options
author | Perry Hung <iperry@gmail.com> | 2011-03-21 02:27:45 -0400 |
---|---|---|
committer | Perry Hung <iperry@gmail.com> | 2011-03-21 02:27:45 -0400 |
commit | ef0936df9b58a0589e68a460a7c963d05f9a1759 (patch) | |
tree | 1b97213bf4cf30978c4ff1b2d1c29e5f159e24e1 /libmaple/bkp.c | |
parent | 403498a28956507bb3063e6d7c190639c0279f47 (diff) | |
download | librambutan-ef0936df9b58a0589e68a460a7c963d05f9a1759.tar.gz librambutan-ef0936df9b58a0589e68a460a7c963d05f9a1759.zip |
Fix compiler errors after reverting broken commit.
Diffstat (limited to 'libmaple/bkp.c')
-rw-r--r-- | libmaple/bkp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmaple/bkp.c b/libmaple/bkp.c index b152069..aaccb1f 100644 --- a/libmaple/bkp.c +++ b/libmaple/bkp.c @@ -57,14 +57,14 @@ void bkp_init(void) { * @see bkp_init() */ void bkp_enable_writes(void) { - *bb_peripv(&PWR_BASE->CR, PWR_CR_DBP) = 1; + *bb_perip(&PWR_BASE->CR, PWR_CR_DBP) = 1; } /** * Disable write access to the backup registers. */ void bkp_disable_writes(void) { - *bb_peripv(&PWR_BASE->CR, PWR_CR_DBP) = 0; + *bb_perip(&PWR_BASE->CR, PWR_CR_DBP) = 0; } /** |