Skip to content
Snippets Groups Projects
Commit 45a3d005 authored by Kees Bakker's avatar Kees Bakker
Browse files

drivers/mrf24j40: do normal assignment instead of memcpy

parent 363d6a3d
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ void mrf24j40_setup(mrf24j40_t *dev, const mrf24j40_params_t *params)
netdev->driver = &mrf24j40_driver;
/* initialize device descriptor */
memcpy(&dev->params, params, sizeof(mrf24j40_params_t));
dev->params = *params;
}
void mrf24j40_reset(mrf24j40_t *dev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment