Fix error: chip/stm32l5_pwr.c:50:20: error: unused function 'stm32l5_pwr_modifyreg'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-20 11:52:41 +08:00 committed by archer
parent ae4b5b5f50
commit 59a747ee36

View File

@ -47,13 +47,6 @@ static inline void stm32l5_pwr_putreg(uint8_t offset, uint16_t value)
putreg32((uint32_t)value, STM32L5_PWR_BASE + (uint32_t)offset); putreg32((uint32_t)value, STM32L5_PWR_BASE + (uint32_t)offset);
} }
static inline void stm32l5_pwr_modifyreg(uint8_t offset, uint16_t clearbits,
uint16_t setbits)
{
modifyreg32(STM32L5_PWR_BASE + (uint32_t)offset, (uint32_t)clearbits,
(uint32_t)setbits);
}
/**************************************************************************** /****************************************************************************
* Public Functions * Public Functions
****************************************************************************/ ****************************************************************************/