Fixed double declaration

This commit is contained in:
Eduard Iten 2025-06-13 10:28:01 +02:00
parent 1a85b40444
commit f995b028e9
1 changed files with 1 additions and 1 deletions

View File

@ -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);