Hi, On Wed, Jul 01, 2015 at 10:50:21AM +0200, Bartosz Golaszewski wrote: > 2015-07-01 0:13 GMT+02:00 Uwe Hermann <u...@hermann-uwe.de>: > > + tspec.it_interval.tv_nsec = (1000000000L / devc->samplerate); > > > > You could use SR_HZ_TO_NS() here, I think (not strictly needed, but it > > might be it a bit clearer). > > Done, you can pull from the same branch.
Merged, thanks! Uwe. -- http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel