Date
1 - 1 of 1
pointer to base of an iterable section #api
yshragai.firmware@...
Hi,
I would like to use the Polling API.
And, I would like to set up the array of k_poll_event objects as an iterable section, so that I can potentially scale it dynamically.
And, I would like to set up the array of k_poll_event objects as an iterable section, so that I can potentially scale it dynamically.
The only hitch I can see is that I need to be able to generate a pointer to the base of the iterable section, to provide as the events parameter to k_poll().
Is there a best (or at least good) method for doing this? (Short of creating a dummy k_poll_event object called "aaaaaaa" and pointing to it...)
Thanks!
Thanks!