On Sunday 28 February 2010 17:37:28 Andrew Lunn wrote:
With time i expect that bat_priv will gain many more members as global variables are replaced with variables per mesh. Rather than passing to functions a member, pass the pointer and let the function dereference it. I think it will make the APIs neater in the long run.
I agree - in the long run that will be better. I'll put that onto my todo list.
Regards, Marek