Update of /cvsroot/com0com/hub4com
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv8775
Modified Files:
comhub.cpp
Log Message:
Replaced
HUB_MSG_TYPE_COM_FUNCTION
HUB_MSG_TYPE_INIT_LSR_MASK
HUB_MSG_TYPE_INIT_MST_MASK
by
HUB_MSG_TYPE_SET_PIN_STATE
HUB_MSG_TYPE_GET_OPTIONS
HUB_MSG_TYPE_SET_OPTIONS
Index: comhub.cpp
===================================================================
RCS file: /cvsroot/com0com/hub4com/comhub.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** comhub.cpp 26 Mar 2008 08:48:18 -0000 1.5
--- comhub.cpp 11 Aug 2008 07:15:33 -0000 1.6
***************
*** 20,23 ****
--- 20,33 ----
*
* $Log$
+ * Revision 1.6 2008/08/11 07:15:33 vfrolov
+ * Replaced
+ * HUB_MSG_TYPE_COM_FUNCTION
+ * HUB_MSG_TYPE_INIT_LSR_MASK
+ * HUB_MSG_TYPE_INIT_MST_MASK
+ * by
+ * HUB_MSG_TYPE_SET_PIN_STATE
+ * HUB_MSG_TYPE_GET_OPTIONS
+ * HUB_MSG_TYPE_SET_OPTIONS
+ *
* Revision 1.5 2008/03/26 08:48:18 vfrolov
* Initial revision
***************
*** 83,86 ****
--- 93,103 ----
for (Ports::const_iterator i = ports.begin() ; i != ports.end() ; i++) {
+ HubMsg msg;
+
+ msg.type = HUB_MSG_TYPE_SET_OPTIONS;
+ OnRead(*i, &msg);
+ }
+
+ for (Ports::const_iterator i = ports.begin() ; i != ports.end() ; i++) {
if (!(*i)->Start())
return FALSE;
|