Skip to content

Commit

Permalink
properly pointing to the i2cport
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyEngland521 committed Jan 21, 2019
1 parent 75f65f0 commit 6ff677c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=SparkFun VL53L1X 4m Laser Distance Sensor
version=1.1.3
version=1.1.4
author=SparkFun Electronics <techsupport@sparkfun.com>
maintainer=SparkFun Electronics <sparkfun.com>
sentence=Library for the SparkFun Qwiic 4m Distance Sensor - VL53L1X
Expand Down
2 changes: 1 addition & 1 deletion src/SparkFun_VL53L1X.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

SFEVL53L1X::SFEVL53L1X(TwoWire &i2cPort, int shutdownPin, int interruptPin)
{
*_i2cPort = i2cPort;
_i2cPort = &i2cPort;
_shutdownPin = shutdownPin;
_interruptPin = interruptPin;
_device = new VL53L1X(&i2cPort, shutdownPin, interruptPin);
Expand Down

0 comments on commit 6ff677c

Please sign in to comment.