On 10/29/2012 11:30 AM, Lars-Peter Clausen wrote: > On 10/29/2012 11:24 AM, Denis CIOCCA wrote: >> >>> There is no attachment attached to this mail. >> my was a question. You prefer I attach all source code or the last modified? >> >> >>>> I don't find IIO_G_TO_M_S_2 in the framework code, but I added this >>>> macro in my source code. It is exatly? >>> >>> It's in the latest IIO tree and also in staging/staging-next. The definition is >>> >>> +#define IIO_DEGREE_TO_RAD(deg) (((deg) * 314159ULL + 9000000ULL) \ >>> / 18000000ULL) >> >> Sorry but I'm lost. The relation from IIO_DEGREE_TO_RAD and IIO_G_TO_M_S_2? >> > > Sorry, too early in the morning, copied the wrong line. > > +#define IIO_G_TO_M_S_2(g) ((g) * 980665ULL / 100000ULL) > > Btw. the full patch can be found here: > http://comments.gmane.org/gmane.linux.kernel.iio/5777 > > - Lars > Ok thanks. ;) Denis-- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html