##// END OF EJS Templates
added 3Mbaud for unix
Jeandet Alexis -
r41:21b605b21a3e alexis
parent child
Show More
@@ -326,8 +326,30 rs232speed_t rs232cfspeed(unsigned int B
326
326
327 if(BaudeRate<172800)
327 if(BaudeRate<172800)
328 return B115200;
328 return B115200;
329
330 if(BaudeRate<345600)
331 return B230400;
332
333 if(BaudeRate<345600)
334 return B460800;
335
336 if(BaudeRate<748800)
337 return B576000;
338
339 if(BaudeRate<1210800)
340 return B921600;
341
342 if(BaudeRate<1750000)
343 return B1500000;
344
345 if(BaudeRate<2250000)
346 return B2000000;
347
348 if(BaudeRate<2750000)
349 return B2500000;
329 else
350 else
330 return B230400;
351 return B3000000;
352
331 }
353 }
332
354
333
355
General Comments 0
You need to be logged in to leave comments. Login now