diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-05 09:28:44 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-05 09:28:44 +0000 |
commit | 1d09b51bf91b2f5cf7e75bd423df9364c429049d (patch) | |
tree | b980f1ccd45d364189d873fb59b18dde45f146fc /gcc/ada/g-sercom-linux.adb | |
parent | 52ff39785d407a54b7d4aaaf1b8582047fe6b51a (diff) | |
download | gcc-1d09b51bf91b2f5cf7e75bd423df9364c429049d.tar.gz |
2008-08-05 Thomas Quinot <quinot@adacore.com>
* g-sercom.adb, g-sercom.ads, g-sercom-mingw.adb,
g-sercom-linux.adb (Data_Bits): Change literals B7 and B8 to CS7 and
CS8.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138687 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-sercom-linux.adb')
-rw-r--r-- | gcc/ada/g-sercom-linux.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/g-sercom-linux.adb b/gcc/ada/g-sercom-linux.adb index cf8f805eb74..1be595a2f63 100644 --- a/gcc/ada/g-sercom-linux.adb +++ b/gcc/ada/g-sercom-linux.adb @@ -84,7 +84,7 @@ package body GNAT.Serial_Communications is B115200 => 8#010002#); C_Bits : constant array (Data_Bits) of unsigned := - (B7 => 8#040#, B8 => 8#060#); + (CS7 => 8#040#, CS8 => 8#060#); C_Stop_Bits : constant array (Stop_Bits_Number) of unsigned := (One => 0, Two => CSTOPB); @@ -181,7 +181,7 @@ package body GNAT.Serial_Communications is procedure Set (Port : Serial_Port; Rate : Data_Rate := B9600; - Bits : Data_Bits := B8; + Bits : Data_Bits := CS8; Stop_Bits : Stop_Bits_Number := One; Parity : Parity_Check := None; Block : Boolean := True; |