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

drivers/rn2xx3: do normal assignment instead of memcpy

parent 287a0757
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ void rn2xx3_setup(rn2xx3_t *dev, const rn2xx3_params_t *params)
assert(dev && (params->uart < UART_NUMOF));
/* initialize device parameters */
memcpy(&dev->p, params, sizeof(rn2xx3_params_t));
dev->p = *params;
/* initialize pins and perform hardware reset */
if (dev->p.pin_reset != GPIO_UNDEF) {
......
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