Re: [riot-devel] Radio Driver Recommendations

2017-02-22 Thread Kaspar Schleiser
Hi Anthony, On 02/22/2017 05:17 PM, Anthony Merlino wrote: > I'm trying to understand a few things. In the _setup command, > how should I copy the default value struct into the overall params if > the radio_params pointer member is const. Should I use memcpy? Or > should I create a new struct

Re: [riot-devel] Radio Driver Recommendations

2017-02-22 Thread Anthony Merlino
Kaspar, Thanks for this! Very clever to put a pointer to a second struct to keep the flexibility without forcing the user to know it. I'm trying to understand a few things.  In the _setup command, how should I copy the default value struct into the overall params if the radio_params pointer