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

cpu/cc430: do normal assignment instead of memcpy

parent 11e4309f
No related branches found
No related tags found
Loading
......@@ -60,7 +60,7 @@ int rtc_set_time(struct tm *localt)
}
/* copy time to be set */
memcpy(&time_to_set, localt, sizeof(struct tm));
time_to_set = *localt;
set_time = 1;
return 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