A new thread for this issue that came up:

2008/10/8, Sebastien LELONG <[EMAIL PROTECTED]>:
>
> > With the explicit call of setup, you touching that other to-be
> > discussion again (should setup be called at include-time? And maybe we
> > should have a naming convention for the init/setup function).
>
> Yes, this is worth another discussion.

In lcd_dh44780_4, init is called when the library is included. In
adc_hardware it is not, so the user must call it after the include.
Why this difference?

Call at include-time ensures the init can not be forgotten, which is a
good thing.
Not calling it at include time seems to give more flexibility. But I
can't think of a practical situation where one would need this kind of
flexibility.

Please let me know what you think.

Joep

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to