Skip to content

Commit 2e829a7

Browse files
authored
Merge pull request #17 from NoahGruenert/magicwandimufix
Cant compile a break outside of a loop: if (IMU.gyroscopeAvailable()…
2 parents 5daea92 + 3623d47 commit 2e829a7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/magic_wand/imu_provider.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ namespace {
9999
// Read each sample, removing it from the device's FIFO buffer
100100
if (!IMU.readGyroscope(data[0], data[1], data[2])) {
101101
Serial.println("Failed to read gyroscope data");
102-
break;
103102
}
104103
new_samples += 1;
105104
}

0 commit comments

Comments
 (0)