Hum... I spoke too fast... Can't use _usec_delay because it requires a const. 
One delay statement uses a variable (_adc_conversion_time) dependent from the 
R source (conversion/acquisition time).

This variable is set once, in the _ad_init_general() procedure. I could make 
the lib compute it at each acquisition, instead of let it computed 
_ad_init_general() and store the result in the global _adc_conversion_time 
variable, but it might be overkill...

Any hints ?

Seb

Le Sunday 14 December 2008 16:37:19 Joep Suijs, vous avez écrit :
> stack use reduction is always good and it does not cost much in this
> case. So please do!
>
> 


-- 
Sébastien LELONG
http://www.sirloon.net
http://sirbot.org

--~--~---------~--~----~------------~-------~--~----~
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