Showing the changes to interface/src/SerialInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -287,7 +287,7 @@ void SerialInterface::resetSerial() { · 286 unmodified lines | |||
| 287 | gettimeofday(&lastGoodRead, NULL); | 287 | gettimeofday(&lastGoodRead, NULL); |
| 288 | 288 | ||
| 289 | if (!USING_INVENSENSE_MPU9150) { | 289 | if (!USING_INVENSENSE_MPU9150) { |
| 290 | gravity = glm::vec3(0,-1,0); | 290 | gravity = glm::vec3(0, -1, 0); |
| 291 | 291 | ||
| 292 | // Clear the measured and average channel data | 292 | // Clear the measured and average channel data |
| 293 | for (int i = 0; i < NUM_CHANNELS; i++) { | 293 | for (int i = 0; i < NUM_CHANNELS; i++) { |