mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
drivers/coresight:Fix coresight_replicator.c compilation error
Fix coresight_replicator.c compilation error, ret is not initialized Signed-off-by: chenzhijia <chenzhijia@xiaomi.com>
This commit is contained in:
@@ -78,7 +78,7 @@ replicator_hw_enable(FAR struct coresight_replicator_dev_s *repdev,
|
|||||||
{
|
{
|
||||||
uint32_t id0val;
|
uint32_t id0val;
|
||||||
uint32_t id1val;
|
uint32_t id1val;
|
||||||
int ret;
|
int ret = 0;
|
||||||
|
|
||||||
if (port != 0 && port != 1)
|
if (port != 0 && port != 1)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user