Skip to content

Commit 4e8fff3

Browse files
committed
Merge branch 'feather_sense_update' of https://github.com/adafruit/Adafruit_Learning_System_Guides into feather_sense_update
2 parents 043aacb + 3065a90 commit 4e8fff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_Feather_Sense/feather_sense_sensor_demo/feather_sense_sensor_demo.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void setup(void) {
6666
}
6767
}
6868
// and we need to instantiate the LSM6DS3TRC
69-
if (new_rev == true) {
69+
if (new_rev) {
7070
lsm6ds3trc.begin_I2C();
7171
}
7272
sht30.begin();
@@ -93,7 +93,7 @@ void loop(void) {
9393
sensors_event_t accel;
9494
sensors_event_t gyro;
9595
sensors_event_t temp;
96-
if (new_rev == true) {
96+
if (new_rev) {
9797
lsm6ds3trc.getEvent(&accel, &gyro, &temp);
9898
}
9999
else {

0 commit comments

Comments
 (0)