Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/itas109/CSerialPort
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
  • Loading branch information
itas109 committed May 7, 2016
2 parents e73e9e5 + cd77ec5 commit 63beed7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ http://blog.csdn.net/itas109
解决办法:在m_hEventArray中调整m_hWriteEvent的优先级高于读的优先级。CommThread(LPVOID pParam)函数中读写的位置也调换。
参考:http://zhidao.baidu.com/link?url=RSrbPcfTZRULFFd2ziHZPBwnoXv1iCSu_Nmycb_yEw1mklT8gkoNZAkWpl3UDhk8L35DtRPo5VV5kEGpOx-Gea
* 修复停止位在头文件中定义成1导致SetCommState报错的问题,应为1对应的停止位是1.5。UINT stopsbits = ONESTOPBIT
* switch(stopbits)和switch(parity)增加默认情况,增强程序健壮性
* switch(stopbits)和switch(parity)增加默认情况,增强程序健壮性

0 comments on commit 63beed7

Please sign in to comment.