Skip to content

Commit c28596f

Browse files
committed
Update feather_sense_sensor_demo.ino
1 parent fe39638 commit c28596f

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
@@ -68,7 +68,7 @@ void setup(void) {
6868
}
6969
}
7070
// and we need to instantiate the LSM6DS3TRC
71-
if (new_rev = true) {
71+
if (new_rev == true) {
7272
lsm6ds3trc.begin_I2C();
7373
}
7474
sht30.begin();
@@ -95,7 +95,7 @@ void loop(void) {
9595
sensors_event_t accel;
9696
sensors_event_t gyro;
9797
sensors_event_t temp;
98-
if (new_rev = true) {
98+
if (new_rev == true) {
9999
lsm6ds3trc.getEvent(&accel, &gyro, &temp);
100100
}
101101
else {

0 commit comments

Comments
 (0)