History

remove now extraneous newlines after switch to QDebug

Stephen Birarda committed 13 years ago

Commit 89d3cfd1 parent afe49bc22 files · +199 −199Browse files

Showing the changes to interface/src/SerialInterface.cpp (1 of 22 files). Show all

Unified · Split

interface/src/SerialInterface.cpp+3−3
@@ -100,7 +100,7 @@ void SerialInterface::initializePort(char* portname) { · 99 unmodified lines
100 qDebug("Opening SerialUSB %s: ", portname);100 qDebug("Opening SerialUSB %s: ", portname);
101 101
102 if (_serialDescriptor == -1) {102 if (_serialDescriptor == -1) {
103 qDebug("Failed.\n");103 qDebug("Failed.");
104 return;104 return;
105 }105 }
106 106
@@ -134,7 +134,7 @@ void SerialInterface::initializePort(char* portname) { · 27 unmodified lines
134 mpu_set_sensors(INV_XYZ_GYRO | INV_XYZ_ACCEL | INV_XYZ_COMPASS);134 mpu_set_sensors(INV_XYZ_GYRO | INV_XYZ_ACCEL | INV_XYZ_COMPASS);
135 }135 }
136 136
137 qDebug("Connected.\n");137 qDebug("Connected.");
138 resetSerial();138 resetSerial();
139 139
140 _active = true;140 _active = true;
@@ -373,7 +373,7 @@ void SerialInterface::readData(float deltaTime) { · 232 unmodified lines
373 gettimeofday(&now, NULL);373 gettimeofday(&now, NULL);
374 374
375 if (diffclock(&lastGoodRead, &now) > NO_READ_MAXIMUM_MSECS) {375 if (diffclock(&lastGoodRead, &now) > NO_READ_MAXIMUM_MSECS) {
376 qDebug("No data - Shutting down SerialInterface.\n");376 qDebug("No data - Shutting down SerialInterface.");
377 resetSerial();377 resetSerial();
378 }378 }
379 } else {379 } else {