watchdog: stm32: fix style issue
Convert uint32_t to u32_t. Warning reported by checkpatch. Signed-off-by: Florian Vaussard <florian.vaussard@gmail.com>
This commit is contained in:
parent
d0fa58722d
commit
35cb2ba346
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ static void iwdg_stm32_convert_timeout(u32_t timeout,
|
||||||
* defines of LL_IWDG_PRESCALER_XX type.
|
* defines of LL_IWDG_PRESCALER_XX type.
|
||||||
*/
|
*/
|
||||||
*prescaler = --shift;
|
*prescaler = --shift;
|
||||||
*reload = (uint32_t)(m_timeout / divider) - 1;
|
*reload = (u32_t)(m_timeout / divider) - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void iwdg_stm32_enable(struct device *dev)
|
static void iwdg_stm32_enable(struct device *dev)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue