|
From: <rus...@us...> - 2008-06-16 01:47:46
|
Revision: 181
http://gearbox.svn.sourceforge.net/gearbox/?rev=181&view=rev
Author: russo2503v
Date: 2008-06-15 18:47:54 -0700 (Sun, 15 Jun 2008)
Log Message:
-----------
not attempting to remove unexpected control char
Modified Paths:
--------------
gearbox/trunk/src/gbxgarminacfr/driver.cpp
Modified: gearbox/trunk/src/gbxgarminacfr/driver.cpp
===================================================================
--- gearbox/trunk/src/gbxgarminacfr/driver.cpp 2008-06-15 08:10:09 UTC (rev 180)
+++ gearbox/trunk/src/gbxgarminacfr/driver.cpp 2008-06-16 01:47:54 UTC (rev 181)
@@ -313,6 +313,7 @@
serialData.erase( serialData.end()-1 );
// dealing with unexplained cntrl characters in the message
+/*
for ( string::iterator it=serialData.begin(); it!=serialData.end(); ++it ) {
if ( iscntrl( *it ) ) {
// debug
@@ -322,7 +323,7 @@
cout<<now.tv_sec<<" "<<now.tv_usec<<" "<<" after='"<<serialData<<"'"<<endl;
}
}
-
+*/
//Put it into the message object and checksum the data
try {
// This throws if it cannot find the * to deliminate the checksum field
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|