File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
src/components/i2c/drivers Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,20 @@ bool WipperSnapper_I2C_Driver_QMC5883P::getEventRaw(sensors_event_t *magEvent) {
58
58
// Get Gauss field data
59
59
if (!_qmc->getGaussField (&gx, &gy, &gz)) {
60
60
WS_DEBUG_PRINTLN (" Failed to read Gauss field data" );
61
- WS_DEBUG_PRINT (" Raw X: " ); WS_DEBUG_PRINTLN (x);
62
- WS_DEBUG_PRINT (" Raw Y: " ); WS_DEBUG_PRINTLN (y);
63
- WS_DEBUG_PRINT (" Raw Z: " ); WS_DEBUG_PRINTLN (z);
61
+ WS_DEBUG_PRINT (" Raw X: " );
62
+ WS_DEBUG_PRINTLN (x);
63
+ WS_DEBUG_PRINT (" Raw Y: " );
64
+ WS_DEBUG_PRINTLN (y);
65
+ WS_DEBUG_PRINT (" Raw Z: " );
66
+ WS_DEBUG_PRINTLN (z);
64
67
return false ;
65
68
} else {
66
- WS_DEBUG_PRINT (" Gauss X: " ); WS_DEBUG_PRINTLN (gx);
67
- WS_DEBUG_PRINT (" Gauss Y: " ); WS_DEBUG_PRINTLN (gy);
68
- WS_DEBUG_PRINT (" Gauss Z: " ); WS_DEBUG_PRINTLN (gz);
69
+ WS_DEBUG_PRINT (" Gauss X: " );
70
+ WS_DEBUG_PRINTLN (gx);
71
+ WS_DEBUG_PRINT (" Gauss Y: " );
72
+ WS_DEBUG_PRINTLN (gy);
73
+ WS_DEBUG_PRINT (" Gauss Z: " );
74
+ WS_DEBUG_PRINTLN (gz);
69
75
}
70
76
71
77
// Check for overflow
You can’t perform that action at this time.
0 commit comments