Hi Wolfgang, On Fri, Nov 27, 2009 at 11:14:57AM +0100, Wolfgang Grandegger wrote: > Luotao Fu wrote: <snip> > > > > I'd prefer not to split it, since they're parameters, which are closelsy > > related to another. sample_point will anyway be ignored, if it's set to > > zero. To avoid misuse we can add some extra hint on this to the (still > > non-existent) documentation. > > I don't want to invite people playing with the sample-point.
All right, I'll take out the samplepoint setting from set_bitraate and add a can_set_sample_point, additionally with a can_set_bitrate_samplepoint for convenience for expert users. > To be clear, sample_point==0 will not be ignored. It means using CIA > recommended sample points for the specified bit-rate. Yeah, I know. that's in the doc. I might have expresse myself misunderstandingly. cheers Fu -- Pengutronix e.K. | Dipl.-Ing. Luotao Fu | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
signature.asc
Description: Digital signature
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
