> You may now replace output_bit(dest, value) with
> #define output_bit(dest,value) output_bit3(__VA_ARGS__)
This is all wrong, it should read
#define output_bit(...) output_bit3(__VA_ARGS__)
and be used via
output_bit(PIN_E3, 1);
or
output_bit(E, 3, 1);
Similar updates to the other macros (output_float, input_from_pin, ...) also do
the trick.
I will update the compat.h and mail it to you (as attachments to this list
might be stripped) when I have finished it.
Regards,
Raphael
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user