Fixed double declaration
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user