Hi,

 
Whilst using synaser on a Raspberry Pi (using FPC 3.1.1 and Lazarus 1.5) I 
found I had to modify synaser.pas to exclude baud rates >= 500k because 
rtl/linux/termios.inc does not define values for B500000 and above.

My solution was to enclose the higher baud rates with {$IFNDEF CPUARM}  … 
{$ENDIF} and to add a similar construction around the definition of MaxRates.

Was this the best way to solve this problem - or is there a neater alternative,

 
Thanks,

Mark

 
 


This email comes from TRE and is for the recipient only. If you receive it by 
mistake, please delete and let the sender know. To read our full email privacy 
policy, please visit http://www.trerail.co.uk/privacy-policy. The Railway 
Engineering Company Limited, a Hitachi Group company with registered office at 
Manvers House Kingston Road Bradford On Avon BA15 1AB. Company Registration No. 
04007016.


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to