Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Example usage: Add sleep between failed probes
Browse files Browse the repository at this point in the history
  • Loading branch information
abrauchli committed Nov 8, 2018
1 parent a599b94 commit 765e18e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sgp30/sgp30_example_usage.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ int main(void) {
* a sensor. */
while (sgp_probe() != STATUS_OK) {
/* printf("SGP sensor probing failed\n"); */
/* sleep(1); */
}
/* printf("SGP sensor probing successful\n"); */

Expand Down
1 change: 1 addition & 0 deletions sgpc3/sgpc3_example_usage.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ int main(void) {
* a sensor. */
while (sgp_probe() != STATUS_OK) {
/* printf("SGP sensor probing failed\n"); */
/* sleep(1); */
}
/* printf("SGP sensor probing successful\n"); */

Expand Down

0 comments on commit 765e18e

Please sign in to comment.