Hi Rob,
I think it's a good idea to change the names in both libs.
If it really is a problem for existing programs that are to hard to change
accordingly, we could provide meta-libraries like i2c_legacy_software which do
nothing more than include the new libraries and define aliases for the old
names.
I wouldn't need those legacy libraries, I have an editor that has find/replace,
so no big deal to modify my programs.
Greets,Kiste
Am Sonntag, 13. Februar 2022, 19:12:31 MEZ hat [email protected]
<[email protected]> Folgendes geschrieben:
Hi all,
I got an e-mail from a Jallib user who wants to use both IIC software and IIC
hardware. This is, however, not possible because both libraries use the same
names in procedures and functions.
For USART the convention 'sw', 'hw' and 'hw2' is used in the procedures.
The problem is easily fixed by adding _sw_ to the software iic procedures. I
did this for this Jallib member and gave him a modified version of
i2c_software. But when changing this and adding this to Jallib then all sample
files that use i2c_software should be changed and members that have made
projects with this library should modify their programs too.
Next to that, for consistency, the i2c_hardware should also get the addition
(in procedure names) _hw_.
What do you think? Should this be changed and if so, how?
Thanks.
Kind regards,
Rob
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/474cfa3b-7eac-4d43-821e-d77fd74916fan%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/1971725052.726847.1644785926284%40mail.yahoo.com.