2014-01-09 20:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* contrib/hbct/ctcom1.c
    ! fixed typo reported by Rolf

  * src/rtl/hbcom.c
    + added support for 1000000 baudrate setting in *nix builds covered
      by B1000000 macro
This commit is contained in:
Przemysław Czerpak
2014-01-09 20:04:56 +01:00
parent 712b7710bb
commit 9a636d9711
3 changed files with 12 additions and 1 deletions

View File

@@ -10,6 +10,14 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2014-01-09 20:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbct/ctcom1.c
! fixed typo reported by Rolf
* src/rtl/hbcom.c
+ added support for 1000000 baudrate setting in *nix builds covered
by B1000000 macro
2014-01-09 19:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/tgetint.prg
! allow to accept complex expressions passed as string to __Get()

View File

@@ -149,7 +149,7 @@ HB_FUNC( COM_RTS )
iClr = HB_COM_MCR_RTS;
}
hb_comMCR( hb_parni( 1 ), &iMCR, iClr, iSet );
hb_retl( ( iMCR & HB_COM_MCR_DTR ) != 0 );
hb_retl( ( iMCR & HB_COM_MCR_RTS ) != 0 );
}
/* com_DTR( <nComPort>, [<lNewDTRStatus>] ) -> <lOldDTRStatus>

View File

@@ -1181,6 +1181,9 @@ int hb_comInit( int iPort, int iBaud, int iParity, int iSize, int iStop )
#endif
#ifdef B921600
case 921600: iBaud = B921600; break;
#endif
#ifdef B1000000
case 1000000: iBaud = B1000000; break;
#endif
default:
iResult = -1;