mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
SAMA5 sam_mcan.c unitialized variable
This commit is contained in:
committed by
Alan C. Assis
parent
b025c6285d
commit
5a4d31f315
@@ -1425,7 +1425,7 @@ static void mcan_buffer_reserve(struct sam_mcan_s *priv)
|
|||||||
int tffl;
|
int tffl;
|
||||||
#endif
|
#endif
|
||||||
int sval;
|
int sval;
|
||||||
int ret;
|
int ret = 0;
|
||||||
|
|
||||||
/* Wait until we successfully get the semaphore. EINTR is the only
|
/* Wait until we successfully get the semaphore. EINTR is the only
|
||||||
* expected 'failure' (meaning that the wait for the semaphore was
|
* expected 'failure' (meaning that the wait for the semaphore was
|
||||||
|
|||||||
Reference in New Issue
Block a user