Skip to content

Commit 043aacb

Browse files
committed
adding break
1 parent c28596f commit 043aacb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Adafruit_Feather_Sense/feather_sense_sensor_demo/feather_sense_sensor_demo.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ void setup(void) {
6262
for (int i =0; i < 5; i++) {
6363
if (accel_array[i] != check_array[i]) {
6464
new_rev = false;
65-
}
66-
else {
67-
new_rev = true;
65+
break
6866
}
6967
}
7068
// and we need to instantiate the LSM6DS3TRC

0 commit comments

Comments
 (0)