Fixed double declaration
This commit is contained in:
parent
1a85b40444
commit
f995b028e9
|
|
@ -26,7 +26,7 @@ static int canbus_set(const char *key, size_t len, settings_read_cb read_cb, voi
|
|||
return -EINVAL; // Invalid argument
|
||||
}
|
||||
|
||||
int rc = read_cb(cb_arg, &node_id, sizeof(node_id));
|
||||
rc = read_cb(cb_arg, &node_id, sizeof(node_id));
|
||||
if (rc < 0)
|
||||
{
|
||||
LOG_ERR("Failed to read node_id setting: %d", rc);
|
||||
|
|
|
|||
Loading…
Reference in New Issue