History

Quick attpemt to fix logging code

Philip Rosedale committed 13 years ago

Commit a834c521 parent 8e19caf2 files · +3 −2Browse files

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

Unified · Split

interface/src/SerialInterface.cpp+2−1
@@ -19,6 +19,7 @@ · 18 unmodified lines
1919 #ifdef __APPLE__
2020 #include <regex.h>
2121 #include <sys/time.h>
22+#include <string>
2223 #endif
2324
2425 int serialFd;
@@ -208,7 +209,7 @@ void SerialInterface::readData() { · 183 unmodified lines
208209 }
209210 if (totalSamples == GRAVITY_SAMPLES) {
210211 gravity = glm::normalize(gravity);
211− printLof("gravity: %f,%f,%f\n", gravity.x, gravity.y, gravity.z);
212+ //printLof("gravity: %f,%f,%f\n", gravity.x, gravity.y, gravity.z);
212213 }
213214
214215 totalSamples++;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t