mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-01-11 18:33:16 +01:00
dm36x timer/uart: Uninitialised return values.
This commit is contained in:
@@ -95,6 +95,13 @@ static int timer_init (void)
|
||||
status = ATOM_OK;
|
||||
}
|
||||
|
||||
/* Already initialised */
|
||||
else
|
||||
{
|
||||
/* Success */
|
||||
status = ATOM_OK;
|
||||
}
|
||||
|
||||
/* Finished */
|
||||
return (status);
|
||||
}
|
||||
|
||||
@@ -148,6 +148,13 @@ static int uart_init (void)
|
||||
}
|
||||
}
|
||||
|
||||
/* Already initialised */
|
||||
else
|
||||
{
|
||||
/* Success */
|
||||
status = ATOM_OK;
|
||||
}
|
||||
|
||||
/* Finished */
|
||||
return (status);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user