Skip to content

Commit

Permalink
Stop measurement when example usage finished
Browse files Browse the repository at this point in the history
  • Loading branch information
MBjoern committed Aug 31, 2021
1 parent 74b70c4 commit 1c6af34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sdp_i2c_example_usage.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,11 @@ int main(void) {
}
}

error = sdp_stop_continuous_measurement();
if (error) {
printf("Error executing sdp_stop_continuous_measurement(): %i\n",
error);
}

return 0;
}

0 comments on commit 1c6af34

Please sign in to comment.