Skip to content

Commit 9520701

Browse files
authored
chore(qmc5883p): clang format
1 parent b8900be commit 9520701

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/components/i2c/drivers/WipperSnapper_I2C_Driver_QMC5883P.cpp

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,20 @@ bool WipperSnapper_I2C_Driver_QMC5883P::getEventRaw(sensors_event_t *magEvent) {
5858
// Get Gauss field data
5959
if (!_qmc->getGaussField(&gx, &gy, &gz)) {
6060
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);
6467
return false;
6568
} 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);
6975
}
7076

7177
// Check for overflow

0 commit comments

Comments
 (0)