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

drivers/kw2xrf: do normal assignment instead of memcpy

parent 7a661068
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ void kw2xrf_setup(kw2xrf_t *dev, const kw2xrf_params_t *params)
netdev->driver = &kw2xrf_driver;
/* initialize device descriptor */
memcpy(&dev->params, params, sizeof(kw2xrf_params_t));
dev->params = *params;
dev->idle_state = XCVSEQ_RECEIVE;
dev->state = 0;
dev->pending_tx = 0;
......
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