mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Trivial changes for compliance with coding standard
This commit is contained in:
@@ -519,12 +519,13 @@ static int stm32_tim14_interrupt(int irq, FAR void *context)
|
||||
|
||||
static int stm32_timer_handler(struct stm32_lowerhalf_s *lower)
|
||||
{
|
||||
uint32_t next_interval_us = 0;
|
||||
bool ret;
|
||||
|
||||
STM32_TIM_ACKINT(lower->tim, 0);
|
||||
|
||||
uint32_t next_interval_us = 0;
|
||||
bool ret = (*lower->handlerUsr)(&next_interval_us);
|
||||
|
||||
if (ret == true)
|
||||
ret = (*lower->handlerUsr)(&next_interval_us);
|
||||
if (ret)
|
||||
{
|
||||
if (next_interval_us > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user