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:
parent
ae4b5b5f50
commit
59a747ee36
@ -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);
|
||||
}
|
||||
|
||||
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
|
||||
****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user