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

drivers/lpd8808: do normal assignment instead of memcpy

parent 7126b1de
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ static void flush(const lpd8808_t *dev)
int lpd8808_init(lpd8808_t *dev, const lpd8808_params_t *params)
{
memcpy(dev, params, sizeof(lpd8808_params_t));
*dev = *params;
/* initialize pins */
gpio_init(dev->pin_dat, GPIO_OUT);
......
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