Fix Error: chip/stm32l4_pwr.c:50:20: error: unused function 'stm32l4_pwr_modifyreg'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
30a153d2a0
commit
4cc52f277b
@ -47,13 +47,6 @@ static inline void stm32l4_pwr_putreg(uint8_t offset, uint16_t value)
|
||||
putreg32((uint32_t)value, STM32L4_PWR_BASE + (uint32_t)offset);
|
||||
}
|
||||
|
||||
static inline void stm32l4_pwr_modifyreg(uint8_t offset, uint16_t clearbits,
|
||||
uint16_t setbits)
|
||||
{
|
||||
modifyreg32(STM32L4_PWR_BASE + (uint32_t)offset,
|
||||
(uint32_t)clearbits, (uint32_t)setbits);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user