Skip to content

Commit

Permalink
Update i2c_qmp6988.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Dec 13, 2024
1 parent 46dd34c commit 153afd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions i2c_qmp6988.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void i2c_qmp6988_report() {

void i2c_qmp6988_try_init() {
for (int i = 0; i < 3; i++) {
i2c_qmp6988_found = !i2c_qmp6988_sensor.begin(&Wire, QMP6988_SLAVE_ADDRESS_L, G2, G1, 400000U);
i2c_qmp6988_found = i2c_qmp6988_sensor.begin(&Wire, QMP6988_SLAVE_ADDRESS_L, G2, G1, 400000U);
if (i2c_qmp6988_found) {
break;
}
Expand All @@ -35,4 +35,4 @@ void i2c_qmp6988_try_init() {
}
}

#endif
#endif

0 comments on commit 153afd7

Please sign in to comment.