Balaji Rao wrote: > Sounds good. But in this case we still won't have an adc_request > object within adc_sync_read to read the adc result from. And there is no > other way we can get back the result. Isn't it ? :)
Hmm, good point, the result ... you could pass a pointer to a suitable struct instead of just the completion. Not sure if that would be much nicer in the end, though. Ah well, it's pretty good already :-) - Werner
