Skip to content

Commit

Permalink
Increase spin up time in example
Browse files Browse the repository at this point in the history
  • Loading branch information
fako committed Sep 17, 2019
1 parent af780c1 commit 1dc1803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/logger/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func main() {
if err := sensor.SetWorkMode(sds011.WorkModeActive); err != nil {
logrus.StandardLogger().Errorf("Error setting active mode on %s: %s", devicePath, err)
}
time.Sleep(15 * time.Second)
time.Sleep(30 * time.Second)

// Read single data point
dataPoint, err := sensor.QueryData()
Expand Down

0 comments on commit 1dc1803

Please sign in to comment.